Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01029/0.01029, allocations: 165.6 kB / 15.11 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.697/1.697, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001982/0.001981, allocations: 107.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4564/0.4564, allocations: 38.05 MB / 303.7 MB, free: 42.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004766, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4326/0.5369, allocations: 93.54 MB / 0.4934 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5372, allocations: 75.41 kB / 0.4935 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2788/0.8161, allocations: 56.26 MB / 0.5484 GB, free: 6.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.8161, allocations: 0 / 0.5484 GB, free: 6.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000215/0.8164, allocations: 59.98 kB / 0.5485 GB, free: 6.871 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01493/0.8313, allocations: 2.692 MB / 0.5511 GB, free: 4.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.8314, allocations: 8.031 kB / 0.5511 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00274/0.8342, allocations: 485.1 kB / 0.5516 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/0.8405, allocations: 487 kB / 0.552 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008037/0.8486, allocations: 1.54 MB / 0.5535 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004456/0.8491, allocations: 217.6 kB / 0.5537 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/0.851, allocations: 275.9 kB / 0.554 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03771/0.8888, allocations: 6.698 MB / 0.5605 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002313/0.8891, allocations: 15.88 kB / 0.5606 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001604/0.8907, allocations: 124 kB / 0.5607 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002227/0.893, allocations: 0.5249 MB / 0.5612 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03352/0.9265, allocations: 5.529 MB / 0.5666 GB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3958/1.322, allocations: 21.3 MB / 0.5874 GB, free: 94.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/1.336, allocations: 1.804 MB / 0.5891 GB, free: 94.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/1.346, allocations: 4.892 MB / 0.5939 GB, free: 92.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.346, allocations: 40.47 kB / 0.594 GB, free: 92.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 4.027e-06/1.346, allocations: 0 / 0.594 GB, free: 92.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.08894/1.435, allocations: 10.1 MB / 0.6038 GB, free: 91.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/1.435, allocations: 91.11 kB / 0.6039 GB, free: 91.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/1.44, allocations: 1.727 MB / 0.6056 GB, free: 90.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000304/1.44, allocations: 42.02 kB / 0.6056 GB, free: 90.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/1.442, allocations: 1.666 MB / 0.6073 GB, free: 90.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006347/1.442, allocations: 418 kB / 0.6077 GB, free: 89.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/1.443, allocations: 59.06 kB / 0.6077 GB, free: 89.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002265/1.443, allocations: 421.6 kB / 0.6081 GB, free: 89.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00292/1.446, allocations: 1.02 MB / 0.6091 GB, free: 89.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004039/1.45, allocations: 2.626 MB / 0.6117 GB, free: 87.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/1.454, allocations: 1.573 MB / 0.6132 GB, free: 87.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.918e-05/1.454, allocations: 15.56 kB / 0.6132 GB, free: 87.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01072/1.465, allocations: 3.635 MB / 0.6168 GB, free: 87.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/1.465, allocations: 33.44 kB / 0.6168 GB, free: 87.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/1.465, allocations: 55.66 kB / 0.6169 GB, free: 87.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/1.466, allocations: 86 kB / 0.6169 GB, free: 87.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005525/1.471, allocations: 0.7219 MB / 0.6176 GB, free: 87.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001866/1.471, allocations: 112.5 kB / 0.6178 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/1.475, allocations: 159.5 kB / 0.6179 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008665/1.476, allocations: 169.6 kB / 0.6181 GB, free: 87.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003671/1.48, allocations: 1.195 MB / 0.6192 GB, free: 87.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/1.48, allocations: 176.2 kB / 0.6194 GB, free: 86.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005417/1.486, allocations: 1.724 MB / 0.6211 GB, free: 86.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/1.486, allocations: 8.406 kB / 0.6211 GB, free: 86.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.486, allocations: 5.344 kB / 0.6211 GB, free: 86.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/1.486, allocations: 7.031 kB / 0.6211 GB, free: 86.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/1.504, allocations: 5.9 MB / 0.6269 GB, free: 85.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/1.504, allocations: 13.8 kB / 0.6269 GB, free: 85.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.506, allocations: 252.6 kB / 0.6271 GB, free: 85.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/1.506, allocations: 18.56 kB / 0.6271 GB, free: 85.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/1.506, allocations: 31.36 kB / 0.6272 GB, free: 85.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.158e-05/1.506, allocations: 24.84 kB / 0.6272 GB, free: 85.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.992e-05/1.506, allocations: 20.66 kB / 0.6272 GB, free: 85.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/1.511, allocations: 2.635 MB / 0.6298 GB, free: 82.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008801/1.512, allocations: 272.6 kB / 0.63 GB, free: 82.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007112/1.512, allocations: 33.97 kB / 0.6301 GB, free: 82.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.514, allocations: 61.83 kB / 0.6301 GB, free: 82.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/1.515, allocations: 100.8 kB / 0.6302 GB, free: 82.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/1.515, allocations: 43.61 kB / 0.6303 GB, free: 82.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004006/1.519, allocations: 1.257 MB / 0.6315 GB, free: 82.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.519, allocations: 3.969 kB / 0.6315 GB, free: 82.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004347/1.523, allocations: 0.5361 MB / 0.632 GB, free: 81.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005506/1.529, allocations: 6.535 MB / 0.6384 GB, free: 75.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006061/1.535, allocations: 2.249 MB / 0.6406 GB, free: 75.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/1.535, allocations: 3.781 kB / 0.6406 GB, free: 75.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00163/1.537, allocations: 0.6082 MB / 0.6412 GB, free: 74.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/1.539, allocations: 233.5 kB / 0.6414 GB, free: 74.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/1.567, allocations: 48.22 MB / 0.6885 GB, free: 28.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004556/1.572, allocations: 2.228 MB / 0.6907 GB, free: 27.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004244/1.576, allocations: 0.7723 MB / 0.6915 GB, free: 27.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002881/1.579, allocations: 1.041 MB / 0.6925 GB, free: 26.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/1.579, allocations: 3 kB / 0.6925 GB, free: 26.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/1.687, allocations: 39.49 MB / 0.731 GB, free: 9.18 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/1.688, allocations: 178.3 kB / 0.7312 GB, free: 8.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.296/5.983, allocations: 0 / 0.7312 GB, free: 8.93 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat