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.001349/0.001349, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001454/0.001454, allocations: 168.9 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.46/1.46, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] 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.2042/0.2042, allocations: 32.81 MB / 294.1 MB, free: 56 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 67.89 kB / 440.6 MB, free: 9.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3318, allocations: 65.44 MB / 0.4941 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01031/0.3421, allocations: 9.728 MB / 0.5036 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006636/0.3487, allocations: 3.649 MB / 0.5072 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.35, allocations: 72.16 kB / 0.5073 GB, free: 22.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004005/0.354, allocations: 2.615 MB / 0.5098 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.3577, allocations: 1.802 MB / 0.5116 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.359, allocations: 0.6901 MB / 0.5123 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00442/0.3634, allocations: 3.574 MB / 0.5158 GB, free: 19.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.3668, allocations: 2.801 MB / 0.5185 GB, free: 17.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.369, allocations: 1.491 MB / 0.5199 GB, free: 17.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.3722, allocations: 2.028 MB / 0.5219 GB, free: 16.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008183/0.373, allocations: 323.4 kB / 0.5222 GB, free: 16.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.3751, allocations: 0.9468 MB / 0.5232 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.3771, allocations: 1.848 MB / 0.525 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.3788, allocations: 1.549 MB / 0.5265 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009467/0.3883, allocations: 6.723 MB / 0.533 GB, free: 11.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3883, allocations: 0 / 0.533 GB, free: 11.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3883, allocations: 0 / 0.533 GB, free: 11.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002698/0.3886, allocations: 0 / 0.533 GB, free: 11.81 MB / 446.1 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.02303/0.4116, allocations: 5.274 MB / 0.5382 GB, free: 8.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4117, allocations: 13.47 kB / 0.5382 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007424/0.4191, allocations: 1.922 MB / 0.5401 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005564/0.4246, allocations: 2.203 MB / 0.5422 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.4248, allocations: 223.1 kB / 0.5424 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.4258, allocations: 303.7 kB / 0.5427 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.4449, allocations: 10.14 MB / 0.5526 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.445, allocations: 43.64 kB / 0.5527 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004501/0.4455, allocations: 143.9 kB / 0.5528 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003419/0.4489, allocations: 1.806 MB / 0.5546 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/0.4692, allocations: 9.097 MB / 0.5635 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05105/0.5203, allocations: 34.78 MB / 0.5974 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/0.5413, allocations: 3.347 MB / 0.6007 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002602/0.5439, allocations: 1.602 MB / 0.6023 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008216/0.5447, allocations: 244.2 kB / 0.6025 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/0.5447, allocations: 47.22 kB / 0.6025 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 3.847e-06/0.5448, allocations: 0 / 0.6025 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04416/0.5889, allocations: 13.45 MB / 0.6157 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.589, allocations: 145.1 kB / 0.6158 GB, free: 10.38 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005351/0.5944, allocations: 3.636 MB / 0.6194 GB, free: 6.73 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003027/0.5947, allocations: 45.7 kB / 0.6194 GB, free: 6.68 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.5971, allocations: 3.117 MB / 0.6225 GB, free: 3.535 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007323/0.5979, allocations: 0.57 MB / 0.623 GB, free: 2.961 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001607/0.5995, allocations: 1.151 MB / 0.6241 GB, free: 1.801 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5996, allocations: 309.1 kB / 0.6244 GB, free: 1.496 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00316/0.6028, allocations: 1.932 MB / 0.6263 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006344/0.6091, allocations: 5.494 MB / 0.6317 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.62, allocations: 8.046 MB / 0.6395 GB, free: 14.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/0.6201, allocations: 36 kB / 0.6396 GB, free: 14.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01786/0.638, allocations: 7.895 MB / 0.6473 GB, free: 6.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.805e-05/0.6381, allocations: 64.06 kB / 0.6473 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/0.6383, allocations: 124 kB / 0.6475 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/0.6409, allocations: 0.8983 MB / 0.6483 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004458/0.6454, allocations: 1.298 MB / 0.6496 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007605/0.653, allocations: 5.019 MB / 0.6545 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004545/0.6575, allocations: 303.8 kB / 0.6548 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008454/0.6584, allocations: 363.9 kB / 0.6551 GB, free: 14.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * 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 (681): * Single equations (assignments): 677 * 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.00402/0.6624, allocations: 1.97 MB / 0.6571 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006379/0.663, allocations: 309.9 kB / 0.6574 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/0.6689, allocations: 2.728 MB / 0.66 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/0.6689, allocations: 19.94 kB / 0.66 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.6689, allocations: 4.375 kB / 0.6601 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.6689, allocations: 15.91 kB / 0.6601 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.6821, allocations: 6.193 MB / 0.6661 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.6821, allocations: 4.031 kB / 0.6661 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.6834, allocations: 263.5 kB / 0.6664 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002286/0.6857, allocations: 0.7108 MB / 0.6671 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.6859, allocations: 35.97 kB / 0.6671 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007169/0.693, allocations: 4.605 MB / 0.6716 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.693, allocations: 0 / 0.6716 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008813/0.7018, allocations: 5.084 MB / 0.6766 GB, free: 8.184 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.7029, allocations: 277.8 kB / 0.6768 GB, free: 7.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003291/0.7032, allocations: 23.94 kB / 0.6768 GB, free: 7.887 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.7043, allocations: 83.91 kB / 0.6769 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.7046, allocations: 100.4 kB / 0.677 GB, free: 7.707 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.7048, allocations: 51.97 kB / 0.6771 GB, free: 7.656 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003639/0.7084, allocations: 2.093 MB / 0.6791 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/0.7084, allocations: 0 / 0.6791 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004859/0.7133, allocations: 0.8749 MB / 0.68 GB, free: 4.695 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (104): * Single equations (assignments): 100 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/0.7137, allocations: 151 kB / 0.6801 GB, free: 4.539 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00761/0.7213, allocations: 4.457 MB / 0.6845 GB, free: 96 kB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7213, allocations: 0 / 0.6845 GB, free: 96 kB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.7233, allocations: 1.29 MB / 0.6857 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.7255, allocations: 375.5 kB / 0.6861 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/0.7442, allocations: 8.439 MB / 0.6943 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/0.7478, allocations: 2.515 MB / 0.6968 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004101/0.7519, allocations: 1.749 MB / 0.6985 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/0.7525, allocations: 248.4 kB / 0.6987 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of SimCode: time 9.41e-07/0.7525, allocations: 0 / 0.6987 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of Templates: time 0.3299/1.082, allocations: 28.14 MB / 0.7262 GB, free: 163.1 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.043277196935378]