Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.0009829/0.0009829, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.0009758/0.0009758, allocations: 165.8 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9655/0.9655, allocations: 158.6 MB / 186.7 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.157/0.157, allocations: 32.38 MB / 271.5 MB, free: 14.39 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.338e-05/3.491e-05, allocations: 5.406 kB / 348.9 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.008922/0.008957, allocations: 13.04 MB / 362 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008238/0.01719, allocations: 4.28 MB / 366.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.01917, allocations: 95.56 kB / 366.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004054/0.02322, allocations: 3.96 MB / 370.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.028, allocations: 2.258 MB / 372.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.02943, allocations: 0.8848 MB / 373.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004947/0.03438, allocations: 4.805 MB / 378.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004885/0.03926, allocations: 4.18 MB / 382.4 MB, free: 7.457 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004644/0.04391, allocations: 3.091 MB / 385.5 MB, free: 4.359 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003913/0.04782, allocations: 2.634 MB / 388.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007527/0.04857, allocations: 432 kB / 388.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.05026, allocations: 1.112 MB / 389.7 MB, free: 188 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001764/0.05203, allocations: 2.493 MB / 392.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.05411, allocations: 1.624 MB / 393.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005635/0.05975, allocations: 5.41 MB / 399.2 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.05975, allocations: 8 kB / 399.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.05975, allocations: 0 / 399.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001346/0.05989, allocations: 0 / 399.2 MB, free: 6.617 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.008897/0.06878, allocations: 6.663 MB / 405.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.06882, allocations: 12.02 kB / 405.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.07234, allocations: 1.656 MB / 407.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/0.07569, allocations: 2.279 MB / 409.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.07588, allocations: 308 kB / 410.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004874/0.07637, allocations: 407.7 kB / 410.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00828/0.08464, allocations: 6.417 MB / 416.9 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.08476, allocations: 51.56 kB / 417 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003425/0.0851, allocations: 191.8 kB / 417.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/0.08675, allocations: 1.953 MB / 419.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006307/0.09306, allocations: 2.866 MB / 422 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2198/0.3129, allocations: 47.89 MB / 469.9 MB, free: 60.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005401/0.3183, allocations: 1.697 MB / 471.6 MB, free: 60.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.3193, allocations: 0.539 MB / 472.1 MB, free: 60.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007237/0.3265, allocations: 4.788 MB / 476.9 MB, free: 59.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3266, allocations: 50.33 kB / 477 MB, free: 59.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=170): time 4.679e-06/0.3266, allocations: 0 / 477 MB, free: 59.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.01884/0.3454, allocations: 6.66 MB / 483.6 MB, free: 58.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.3455, allocations: 149.7 kB / 483.8 MB, free: 58.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/0.3493, allocations: 3.878 MB / 487.7 MB, free: 57.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003193/0.3497, allocations: 51.27 kB / 487.7 MB, free: 57.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00179/0.3514, allocations: 4.056 MB / 491.8 MB, free: 54.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008055/0.3523, allocations: 0.7734 MB / 492.5 MB, free: 54.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.3534, allocations: 1.466 MB / 494 MB, free: 52.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.3534, allocations: 480.7 kB / 494.5 MB, free: 52.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.3545, allocations: 0.622 MB / 495.1 MB, free: 51.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.3574, allocations: 6.892 MB / 0.4902 GB, free: 41.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005057/0.3624, allocations: 8.261 MB / 0.4983 GB, free: 31.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001452/0.3626, allocations: 44 kB / 0.4983 GB, free: 31.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.007775/0.3703, allocations: 5.375 MB / 0.5036 GB, free: 25.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.3704, allocations: 68 kB / 0.5036 GB, free: 25.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.3705, allocations: 152 kB / 0.5038 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/0.3709, allocations: 259.5 kB / 0.504 GB, free: 25.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.3736, allocations: 1.532 MB / 0.5055 GB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.3749, allocations: 2.151 MB / 0.5076 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/0.3784, allocations: 295.7 kB / 0.5079 GB, free: 21.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004268/0.3788, allocations: 364 kB / 0.5083 GB, free: 20.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 681 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (844): * Single equations (assignments): 840 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001752/0.3806, allocations: 0.7125 MB / 0.509 GB, free: 20.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006621/0.3812, allocations: 421.5 kB / 0.5094 GB, free: 19.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.3826, allocations: 1.165 MB / 0.5105 GB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.3826, allocations: 20 kB / 0.5105 GB, free: 18.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3826, allocations: 0 / 0.5105 GB, free: 18.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.3827, allocations: 15.91 kB / 0.5105 GB, free: 18.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008012/0.3907, allocations: 5.476 MB / 0.5159 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.3907, allocations: 8 kB / 0.5159 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.3915, allocations: 295.6 kB / 0.5162 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/0.3917, allocations: 78.47 kB / 0.5162 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/0.3918, allocations: 39.98 kB / 0.5163 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009905/0.3928, allocations: 1.881 MB / 0.5181 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3928, allocations: 8 kB / 0.5181 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.3955, allocations: 2.392 MB / 0.5205 GB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.3965, allocations: 493.2 kB / 0.5209 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.3968, allocations: 39.98 kB / 0.521 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006976/0.3975, allocations: 43.97 kB / 0.521 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.3977, allocations: 124.6 kB / 0.5211 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.3978, allocations: 43.98 kB / 0.5212 GB, free: 7.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001878/0.3996, allocations: 1.545 MB / 0.5227 GB, free: 5.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3996, allocations: 0 / 0.5227 GB, free: 5.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005032/0.4047, allocations: 1.117 MB / 0.5238 GB, free: 4.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * 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 (166): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005251/0.4052, allocations: 198.8 kB / 0.524 GB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004057/0.4093, allocations: 3.004 MB / 0.5269 GB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.4093, allocations: 9.625 kB / 0.5269 GB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008047/0.4101, allocations: 0.7222 MB / 0.5276 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.4122, allocations: 441.7 kB / 0.528 GB, free: 352 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/0.4266, allocations: 8.897 MB / 0.5367 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.4281, allocations: 1.452 MB / 0.5381 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001753/0.4299, allocations: 0.5405 MB / 0.5387 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009853/0.4308, allocations: 0.627 MB / 0.5393 GB, free: 4.629 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4308, allocations: 0 / 0.5393 GB, free: 4.629 MB / 394.7 MB Notification: Performance of Templates: time 0.05612/0.487, allocations: 33.3 MB / 0.5718 GB, free: 3.418 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.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.515232149045914]