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.001579/0.001579, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001872/0.001872, allocations: 169 kB / 24.24 MB, free: 312 kB / 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 1.018/1.018, allocations: 158.6 MB / 186 MB, free: 2.914 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.1427/0.1427, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.513e-06/1.513e-06, allocations: 3.938 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.59e-05, allocations: 2.312 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.009895/0.009921, allocations: 13.37 MB / 361 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009833/0.01975, allocations: 4.303 MB / 365.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002978/0.02273, allocations: 95.56 kB / 365.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005498/0.02823, allocations: 4.014 MB / 369.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005272/0.0335, allocations: 2.251 MB / 371.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.03529, allocations: 0.8692 MB / 372.6 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005974/0.04127, allocations: 4.807 MB / 377.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004253/0.04552, allocations: 4.18 MB / 381.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/0.04992, allocations: 2.947 MB / 384.5 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003584/0.0535, allocations: 2.759 MB / 387.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009037/0.05441, allocations: 448 kB / 387.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.05629, allocations: 1.12 MB / 388.8 MB, free: 428 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.05838, allocations: 2.517 MB / 391.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.06096, allocations: 1.636 MB / 393 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00664/0.0676, allocations: 5.472 MB / 398.5 MB, free: 6.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.0676, allocations: 0 / 398.5 MB, free: 6.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.06761, allocations: 0 / 398.5 MB, free: 6.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001974/0.0678, allocations: 0 / 398.5 MB, free: 6.762 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.0137/0.0815, allocations: 7.092 MB / 405.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.08155, allocations: 8.031 kB / 405.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/0.08724, allocations: 2.568 MB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004827/0.09207, allocations: 2.532 MB / 410.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.09228, allocations: 309.9 kB / 411 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.09339, allocations: 411.8 kB / 411.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.1084, allocations: 7.585 MB / 418.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.1085, allocations: 47.64 kB / 419 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000592/0.1091, allocations: 191.8 kB / 419.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002663/0.1118, allocations: 2.367 MB / 421.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.1232, allocations: 4.479 MB / 426 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2187/0.342, allocations: 49.09 MB / 475.1 MB, free: 43.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.3521, allocations: 2.915 MB / 478 MB, free: 43.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.3546, allocations: 1.016 MB / 479 MB, free: 43.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.3551, allocations: 250.5 kB / 479.3 MB, free: 43.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.3551, allocations: 59.58 kB / 479.3 MB, free: 42.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 1.002e-05/0.3551, allocations: 2.812 kB / 479.3 MB, free: 42.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=255): time 0.03816/0.3933, allocations: 18.01 MB / 497.4 MB, free: 39.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.3934, allocations: 157.9 kB / 497.5 MB, free: 39.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/0.3967, allocations: 3.709 MB / 0.4895 GB, free: 37.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002431/0.3969, allocations: 64.45 kB / 0.4895 GB, free: 37.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.3984, allocations: 3.848 MB / 0.4933 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007348/0.3991, allocations: 1.038 MB / 0.4943 GB, free: 33.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.4004, allocations: 1.596 MB / 0.4959 GB, free: 32.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.4005, allocations: 484.7 kB / 0.4963 GB, free: 31.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.402, allocations: 0.9737 MB / 0.4973 GB, free: 30.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/0.4047, allocations: 6.816 MB / 0.5039 GB, free: 21.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006494/0.4112, allocations: 8.638 MB / 0.5124 GB, free: 10.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/0.4114, allocations: 40 kB / 0.5124 GB, free: 10.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01255/0.4239, allocations: 6.902 MB / 0.5191 GB, free: 4.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.424, allocations: 66.3 kB / 0.5192 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/0.4242, allocations: 142.8 kB / 0.5193 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.4257, allocations: 0.6772 MB / 0.52 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/0.4294, allocations: 1.813 MB / 0.5218 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.4327, allocations: 3.347 MB / 0.525 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/0.4367, allocations: 455.6 kB / 0.5255 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/0.4378, allocations: 475.8 kB / 0.5259 GB, free: 13.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * 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 (857): * Single equations (assignments): 853 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002422/0.4402, allocations: 0.711 MB / 0.5266 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009151/0.4411, allocations: 465.5 kB / 0.5271 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/0.446, allocations: 2.987 MB / 0.53 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-05/0.4461, allocations: 28 kB / 0.53 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.4461, allocations: 4 kB / 0.53 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.4461, allocations: 11.95 kB / 0.53 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.4599, allocations: 7.816 MB / 0.5377 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/0.4599, allocations: 7.938 kB / 0.5377 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.4616, allocations: 0.624 MB / 0.5383 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.4629, allocations: 0.5058 MB / 0.5388 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/0.4631, allocations: 105.4 kB / 0.5389 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.4664, allocations: 3.094 MB / 0.5419 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4664, allocations: 4 kB / 0.5419 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006849/0.4733, allocations: 4.295 MB / 0.5461 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.475, allocations: 0.7979 MB / 0.5469 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005367/0.4756, allocations: 52 kB / 0.5469 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.4769, allocations: 219.7 kB / 0.5471 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004355/0.4774, allocations: 217.5 kB / 0.5473 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/0.4776, allocations: 125.3 kB / 0.5475 GB, free: 7.133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002313/0.4799, allocations: 1.596 MB / 0.549 GB, free: 5.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4799, allocations: 4 kB / 0.549 GB, free: 5.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005092/0.485, allocations: 1.332 MB / 0.5503 GB, free: 4.219 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (228): * Single equations (assignments): 224 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005668/0.4855, allocations: 205 kB / 0.5505 GB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006652/0.4922, allocations: 4.075 MB / 0.5545 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4922, allocations: 3.938 kB / 0.5545 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002083/0.4943, allocations: 1.408 MB / 0.5559 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.4966, allocations: 0.4969 MB / 0.5564 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.5123, allocations: 9.802 MB / 0.5659 GB, free: 4.129 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.5139, allocations: 1.499 MB / 0.5674 GB, free: 2.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003582/0.5175, allocations: 1.926 MB / 0.5693 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.5187, allocations: 464.1 kB / 0.5697 GB, free: 224 kB / 426.7 MB Notification: Performance of SimCode: time 2.404e-06/0.5187, allocations: 0 / 0.5697 GB, free: 224 kB / 426.7 MB Notification: Performance of Templates: time 0.2434/0.7621, allocations: 51.45 MB / 0.62 GB, free: 160.9 MB / 474.7 MB " [Timeout remaining time 659] 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.988196562975645]