Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.0009341/0.0009341, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001574/0.001574, allocations: 170.7 kB / 24.91 MB, free: 8.723 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.9766/0.9766, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2602/0.2602, allocations: 32.8 MB / 294.6 MB, free: 1.133 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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.742e-05, allocations: 3.672 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01117/0.0112, allocations: 10.49 MB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006918/0.01812, allocations: 3.874 MB / 337.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009551/0.01907, allocations: 75.62 kB / 337.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.02176, allocations: 2.823 MB / 340.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.02497, allocations: 1.858 MB / 342.4 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.02607, allocations: 0.7522 MB / 343.2 MB, free: 5.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003274/0.02934, allocations: 3.985 MB / 347.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002935/0.03227, allocations: 3.125 MB / 350.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.03462, allocations: 2.284 MB / 352.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.03673, allocations: 2.015 MB / 354.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.03703, allocations: 320 kB / 354.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.03819, allocations: 1.01 MB / 355.9 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009875/0.03917, allocations: 1.921 MB / 357.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007847/0.03996, allocations: 1.211 MB / 359 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.04289, allocations: 4.262 MB / 363.3 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.0429, allocations: 0 / 363.3 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.0429, allocations: 0 / 363.3 MB, free: 1.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.04293, allocations: 4 kB / 363.3 MB, free: 1.418 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.004221/0.04715, allocations: 4.456 MB / 367.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.04718, allocations: 12.03 kB / 367.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.04963, allocations: 1.07 MB / 368.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.05129, allocations: 1.685 MB / 370.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.0514, allocations: 225.9 kB / 370.7 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/0.05171, allocations: 307.8 kB / 371 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004217/0.05593, allocations: 4.57 MB / 375.6 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/0.05599, allocations: 43.62 kB / 375.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.05621, allocations: 143.9 kB / 375.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/0.05745, allocations: 1.513 MB / 377.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.06056, allocations: 2.237 MB / 379.5 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01889/0.07946, allocations: 28.45 MB / 408 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.08182, allocations: 1.104 MB / 409.1 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.08211, allocations: 247.8 kB / 409.3 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003232/0.08534, allocations: 2.765 MB / 412.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.08537, allocations: 42.5 kB / 412.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.234e-06/0.08537, allocations: 0 / 412.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.004759/0.09013, allocations: 2.469 MB / 414.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.09018, allocations: 140.5 kB / 414.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.09249, allocations: 3.09 MB / 417.8 MB, free: 8.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.09254, allocations: 41.7 kB / 417.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.09365, allocations: 3 MB / 420.9 MB, free: 5.695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.09386, allocations: 444.8 kB / 421.3 MB, free: 5.258 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007355/0.09459, allocations: 1.045 MB / 422.4 MB, free: 4.203 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.09466, allocations: 313 kB / 422.7 MB, free: 3.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008149/0.09547, allocations: 0.6235 MB / 423.3 MB, free: 3.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.09791, allocations: 4.192 MB / 427.5 MB, free: 13.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/0.1013, allocations: 5.337 MB / 432.8 MB, free: 5.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.147e-05/0.1013, allocations: 36 kB / 432.8 MB, free: 5.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.003713/0.1051, allocations: 3.755 MB / 436.6 MB, free: 2.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.1051, allocations: 64 kB / 436.7 MB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.41e-05/0.1052, allocations: 132 kB / 436.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.1054, allocations: 227.5 kB / 437 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.1073, allocations: 1.291 MB / 438.3 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008912/0.1082, allocations: 1.514 MB / 439.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.1098, allocations: 247.7 kB / 440.1 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.11, allocations: 311.9 kB / 440.4 MB, free: 14.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (685): * Single equations (assignments): 681 * 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.0008782/0.1109, allocations: 0.5952 MB / 441 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.1111, allocations: 171.8 kB / 441.1 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.1117, allocations: 0.498 MB / 441.6 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.1117, allocations: 15.94 kB / 441.6 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1117, allocations: 4 kB / 441.6 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1117, allocations: 7.984 kB / 441.7 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.1151, allocations: 2.834 MB / 444.5 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1151, allocations: 0 / 444.5 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.1155, allocations: 163.7 kB / 444.6 MB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.1156, allocations: 43.64 kB / 444.7 MB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.1156, allocations: 20.11 kB / 444.7 MB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008053/0.1164, allocations: 1.43 MB / 446.1 MB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1164, allocations: 0 / 446.1 MB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/0.1174, allocations: 1.214 MB / 447.4 MB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.1177, allocations: 277.8 kB / 447.6 MB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.1178, allocations: 15.98 kB / 447.6 MB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.1182, allocations: 20 kB / 447.7 MB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.1183, allocations: 63.77 kB / 447.7 MB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.1184, allocations: 24 kB / 447.7 MB, free: 6.684 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008941/0.1193, allocations: 1.113 MB / 448.9 MB, free: 5.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1193, allocations: 0 / 448.9 MB, free: 5.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002288/0.1215, allocations: 0.8281 MB / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (74): * Single equations (assignments): 70 * 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.0002452/0.1218, allocations: 141.9 kB / 449.8 MB, free: 4.598 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.1239, allocations: 2.113 MB / 451.9 MB, free: 2.492 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001415/0.1241, allocations: 96.16 kB / 452 MB, free: 2.391 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.1243, allocations: 326 kB / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.1255, allocations: 0.5542 MB / 452.9 MB, free: 1.508 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1336/0.2592, allocations: 6.415 MB / 459.3 MB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.2603, allocations: 1.115 MB / 460.4 MB, free: 125.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001109/0.2614, allocations: 444.4 kB / 460.9 MB, free: 125.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.2619, allocations: 487.2 kB / 461.3 MB, free: 125.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/0.2619, allocations: 0 / 461.3 MB, free: 125.2 MB / 426.7 MB Notification: Performance of Templates: time 0.03359/0.2955, allocations: 22.35 MB / 483.7 MB, free: 109.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.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.8474733917973936]