Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 83.69 kB / 21.19 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 165 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9279/0.9279, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2482/0.2482, allocations: 32.8 MB / 294.3 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.632e-05, allocations: 5.406 kB / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01125/0.01128, allocations: 14.46 MB / 390.5 MB, free: 6.188 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008546/0.01983, allocations: 4.976 MB / 395.4 MB, free: 1.195 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.02139, allocations: 139.3 kB / 395.6 MB, free: 1.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005692/0.02708, allocations: 6.437 MB / 402 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004645/0.03172, allocations: 2.908 MB / 404.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.0339, allocations: 1.793 MB / 406.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007694/0.0416, allocations: 9.138 MB / 415.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005358/0.04696, allocations: 6.584 MB / 422.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004686/0.05164, allocations: 4.51 MB / 427 MB, free: 1.539 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.05572, allocations: 4.454 MB / 431.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007381/0.05646, allocations: 0.5859 MB / 432 MB, free: 12.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.05819, allocations: 1.362 MB / 433.4 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002372/0.06056, allocations: 3.818 MB / 437.2 MB, free: 7.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00324/0.0638, allocations: 2.29 MB / 439.5 MB, free: 5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1723/0.2361, allocations: 7.582 MB / 447 MB, free: 67.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2361, allocations: 0 / 447 MB, free: 67.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2361, allocations: 0 / 447 MB, free: 67.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004507/0.2366, allocations: 3.938 kB / 447 MB, free: 67.56 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01169/0.2483, allocations: 9.308 MB / 456.4 MB, free: 64.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2483, allocations: 9.344 kB / 456.4 MB, free: 64.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005903/0.2542, allocations: 3.341 MB / 459.7 MB, free: 63.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005057/0.2593, allocations: 4.061 MB / 463.8 MB, free: 62.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.2595, allocations: 419.9 kB / 464.2 MB, free: 62.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/0.2601, allocations: 0.5442 MB / 464.7 MB, free: 62.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.2728, allocations: 10.4 MB / 475.1 MB, free: 58.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/0.2729, allocations: 73.7 kB / 475.2 MB, free: 58.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004577/0.2734, allocations: 261.2 kB / 475.4 MB, free: 58.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002432/0.2758, allocations: 2.926 MB / 478.4 MB, free: 57.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.2862, allocations: 5.229 MB / 483.6 MB, free: 57.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0412/0.3274, allocations: 72.18 MB / 0.5428 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009337/0.3368, allocations: 3.46 MB / 0.5461 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.338, allocations: 0.7721 MB / 0.5469 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008925/0.3469, allocations: 6.334 MB / 0.5531 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.3469, allocations: 58.17 kB / 0.5531 GB, free: 8.641 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 4.288e-06/0.3469, allocations: 0 / 0.5531 GB, free: 8.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02415/0.3711, allocations: 13.08 MB / 0.5659 GB, free: 11.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3712, allocations: 153.6 kB / 0.566 GB, free: 11.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005289/0.3764, allocations: 5.524 MB / 0.5714 GB, free: 5.965 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.3765, allocations: 59.67 kB / 0.5715 GB, free: 5.906 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002552/0.3791, allocations: 5.506 MB / 0.5769 GB, free: 452 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/0.3796, allocations: 0.8687 MB / 0.5777 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/0.3812, allocations: 1.816 MB / 0.5795 GB, free: 13.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.3813, allocations: 480.8 kB / 0.58 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.3825, allocations: 0.7853 MB / 0.5807 GB, free: 12.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004607/0.3872, allocations: 8.701 MB / 0.5892 GB, free: 212 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007412/0.3946, allocations: 10.49 MB / 0.5995 GB, free: 2.359 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.8e-05/0.3946, allocations: 52 kB / 0.5995 GB, free: 2.309 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1617/0.5563, allocations: 7.046 MB / 0.6064 GB, free: 118.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.802e-05/0.5564, allocations: 87.03 kB / 0.6065 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001909/0.5566, allocations: 194 kB / 0.6067 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.5568, allocations: 249.2 kB / 0.6069 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/0.5602, allocations: 1.938 MB / 0.6088 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002011/0.5604, allocations: 371.8 kB / 0.6091 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/0.5647, allocations: 0.6339 MB / 0.6098 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006491/0.5654, allocations: 0.512 MB / 0.6103 GB, free: 118.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002068/0.5674, allocations: 0.8723 MB / 0.6111 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007285/0.5682, allocations: 0.5632 MB / 0.6117 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.5686, allocations: 495.5 kB / 0.6121 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.5687, allocations: 23.86 kB / 0.6122 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.5687, allocations: 0 / 0.6122 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.5687, allocations: 11.5 kB / 0.6122 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.5802, allocations: 10.17 MB / 0.6221 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.984e-05/0.5802, allocations: 45.25 kB / 0.6221 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007959/0.581, allocations: 444.8 kB / 0.6226 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-05/0.5811, allocations: 67.7 kB / 0.6226 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.5812, allocations: 102.7 kB / 0.6227 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.847e-05/0.5812, allocations: 91.83 kB / 0.6228 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.277e-05/0.5813, allocations: 74.62 kB / 0.6229 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.5852, allocations: 4.104 MB / 0.6269 GB, free: 112.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.5863, allocations: 0.6016 MB / 0.6275 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005293/0.5868, allocations: 109.7 kB / 0.6276 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.5882, allocations: 231.1 kB / 0.6278 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.5884, allocations: 320.3 kB / 0.6281 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/0.5886, allocations: 126.3 kB / 0.6282 GB, free: 112.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003428/0.592, allocations: 2.413 MB / 0.6306 GB, free: 112.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.592, allocations: 1.625 kB / 0.6306 GB, free: 112.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00599/0.598, allocations: 1.488 MB / 0.632 GB, free: 112.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005833/0.5986, allocations: 284.5 kB / 0.6323 GB, free: 112.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005209/0.6038, allocations: 3.683 MB / 0.6359 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.751e-05/0.6038, allocations: 14.09 kB / 0.6359 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009149/0.6048, allocations: 0.7428 MB / 0.6367 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/0.6083, allocations: 0.8296 MB / 0.6375 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.625, allocations: 13.74 MB / 0.6509 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/0.6272, allocations: 2.1 MB / 0.6529 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003909/0.6311, allocations: 2.205 MB / 0.6551 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007033/0.6318, allocations: 350.2 kB / 0.6554 GB, free: 102.9 MB / 474.7 MB Notification: Performance of SimCode: time 3.045e-06/0.6319, allocations: 0 / 0.6554 GB, free: 102.9 MB / 474.7 MB Notification: Performance of Templates: time 0.05499/0.6868, allocations: 33.66 MB / 0.6883 GB, free: 75.77 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.801932321861386]