Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001222/0.001222, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001088/0.001088, allocations: 172.7 kB / 24.91 MB, free: 9.195 MB / 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.9593/0.9593, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2602/0.2602, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.278e-05, allocations: 4.109 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01248/0.0125, allocations: 12.37 MB / 337.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009231/0.02173, allocations: 4.373 MB / 342 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.02262, allocations: 95.5 kB / 342.1 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.0262, allocations: 3.909 MB / 346 MB, free: 2.812 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.0288, allocations: 2.087 MB / 348.1 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.02986, allocations: 0.8809 MB / 349 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003216/0.03307, allocations: 4.647 MB / 353.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.03581, allocations: 4.044 MB / 357.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.03804, allocations: 2.892 MB / 360.6 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.0399, allocations: 2.389 MB / 363 MB, free: 1.742 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003376/0.04024, allocations: 412 kB / 363.4 MB, free: 1.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.04145, allocations: 1.112 MB / 364.5 MB, free: 232 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.04257, allocations: 2.345 MB / 366.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009081/0.04347, allocations: 1.519 MB / 368.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.04676, allocations: 5.071 MB / 373.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.04676, allocations: 3.938 kB / 373.4 MB, free: 7.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.04677, allocations: 0 / 373.4 MB, free: 7.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.153e-05/0.04681, allocations: 3.984 kB / 373.4 MB, free: 7.254 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.005135/0.05194, allocations: 5.505 MB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.05198, allocations: 8.031 kB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.05553, allocations: 1.195 MB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.05812, allocations: 2.038 MB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.0583, allocations: 295.6 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005186/0.05882, allocations: 395.7 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00687/0.06569, allocations: 5.605 MB / 388.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.75e-05/0.06578, allocations: 43.64 kB / 388.5 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003584/0.06614, allocations: 183.8 kB / 388.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001809/0.06795, allocations: 1.789 MB / 390.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005121/0.07307, allocations: 2.781 MB / 393.3 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02585/0.09892, allocations: 33.58 MB / 426.8 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/0.1037, allocations: 1.672 MB / 428.5 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005987/0.1043, allocations: 419.4 kB / 428.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005781/0.1101, allocations: 4.135 MB / 433.1 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1101, allocations: 51.5 kB / 433.1 MB, free: 9.383 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 3.186e-06/0.1101, allocations: 0 / 433.1 MB, free: 9.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01464/0.1248, allocations: 5.39 MB / 438.5 MB, free: 3.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.1248, allocations: 149.5 kB / 438.6 MB, free: 3.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.1277, allocations: 3.395 MB / 442 MB, free: 400 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.1278, allocations: 49.7 kB / 442.1 MB, free: 344 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.1294, allocations: 3.462 MB / 445.6 MB, free: 12.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.1298, allocations: 0.6668 MB / 446.2 MB, free: 12.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008427/0.1306, allocations: 1.2 MB / 447.4 MB, free: 10.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.1307, allocations: 305.1 kB / 447.7 MB, free: 10.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.1317, allocations: 0.7671 MB / 448.5 MB, free: 9.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.1343, allocations: 4.683 MB / 453.2 MB, free: 3.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1723/0.3066, allocations: 6.041 MB / 459.2 MB, free: 101.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.211e-05/0.3067, allocations: 44.12 kB / 459.3 MB, free: 101.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.00495/0.3116, allocations: 4.336 MB / 463.6 MB, free: 101.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.3117, allocations: 66.44 kB / 463.7 MB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.877e-05/0.3118, allocations: 150.4 kB / 463.8 MB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.3121, allocations: 255 kB / 464 MB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.3144, allocations: 1.518 MB / 465.6 MB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009693/0.3154, allocations: 1.598 MB / 467.2 MB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.3172, allocations: 279.9 kB / 467.4 MB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/0.3174, allocations: 344.3 kB / 467.8 MB, free: 100.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (802): * Single equations (assignments): 798 * 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.00102/0.3184, allocations: 0.6642 MB / 468.4 MB, free: 99.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.3187, allocations: 219.2 kB / 468.7 MB, free: 99.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009739/0.3197, allocations: 0.8681 MB / 469.5 MB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.3197, allocations: 17.69 kB / 469.5 MB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3197, allocations: 4 kB / 469.5 MB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.3197, allocations: 11.84 kB / 469.6 MB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004278/0.324, allocations: 4.275 MB / 473.8 MB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.324, allocations: 11.94 kB / 473.8 MB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.3246, allocations: 294.2 kB / 474.1 MB, free: 99.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.3248, allocations: 68.39 kB / 474.2 MB, free: 99.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.3249, allocations: 32.69 kB / 474.2 MB, free: 99.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008438/0.3257, allocations: 1.514 MB / 475.7 MB, free: 97.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3258, allocations: 11.19 kB / 475.7 MB, free: 97.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.3272, allocations: 1.82 MB / 477.6 MB, free: 97.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/0.3276, allocations: 430.6 kB / 478 MB, free: 97.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.3277, allocations: 37.91 kB / 478 MB, free: 97.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/0.3283, allocations: 33.89 kB / 478.1 MB, free: 97.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.3284, allocations: 108.9 kB / 478.2 MB, free: 97.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.3285, allocations: 46.05 kB / 478.2 MB, free: 97.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008776/0.3294, allocations: 1.237 MB / 479.4 MB, free: 96.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3294, allocations: 0 / 479.4 MB, free: 96.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002353/0.3317, allocations: 1.03 MB / 480.5 MB, free: 96.58 MB / 426.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 (143): * Single equations (assignments): 139 * 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.0002688/0.332, allocations: 162.2 kB / 480.6 MB, free: 96.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.334, allocations: 2.573 MB / 483.2 MB, free: 94.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001357/0.3342, allocations: 100.2 kB / 483.3 MB, free: 94.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.3346, allocations: 0.5356 MB / 483.8 MB, free: 93.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.336, allocations: 0.6545 MB / 484.5 MB, free: 93.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007092/0.343, allocations: 8.134 MB / 492.6 MB, free: 86.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/0.3439, allocations: 1.357 MB / 494 MB, free: 85.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009835/0.3449, allocations: 0.5135 MB / 494.5 MB, free: 85.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007067/0.3456, allocations: 0.5606 MB / 495.1 MB, free: 84.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3456, allocations: 0 / 495.1 MB, free: 84.93 MB / 426.7 MB Notification: Performance of Templates: time 0.03816/0.3838, allocations: 30.2 MB / 0.513 GB, free: 55.71 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.9750115661881864]