Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001624/0.001624, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 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.002155/0.002155, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.2504/0.2504, allocations: 46.94 MB / 360.9 MB, free: 4.352 MB / 286.1 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 71.83 kB / 0.4966 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3368, allocations: 66.03 MB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01417/0.351, allocations: 11.13 MB / 0.572 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008477/0.3595, allocations: 3.87 MB / 0.5758 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.3608, allocations: 71.69 kB / 0.5759 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005255/0.3661, allocations: 2.722 MB / 0.5785 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004602/0.3707, allocations: 1.802 MB / 0.5803 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.3723, allocations: 0.7018 MB / 0.581 GB, free: 40 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005438/0.3778, allocations: 3.582 MB / 0.5845 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003782/0.3816, allocations: 2.822 MB / 0.5872 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.3839, allocations: 1.487 MB / 0.5887 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/0.3873, allocations: 2.153 MB / 0.5908 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007004/0.388, allocations: 324 kB / 0.5911 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.3901, allocations: 1.081 MB / 0.5921 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001834/0.3919, allocations: 1.842 MB / 0.5939 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.3942, allocations: 2.086 MB / 0.596 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008502/0.4027, allocations: 6.7 MB / 0.6025 GB, free: 9.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4027, allocations: 0 / 0.6025 GB, free: 9.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4027, allocations: 0 / 0.6025 GB, free: 9.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001856/0.4029, allocations: 0 / 0.6025 GB, free: 9.84 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.01801/0.4209, allocations: 5.121 MB / 0.6075 GB, free: 4.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.421, allocations: 12.03 kB / 0.6075 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007108/0.4281, allocations: 1.878 MB / 0.6094 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006195/0.4343, allocations: 2.181 MB / 0.6115 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.4345, allocations: 229.8 kB / 0.6117 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.4358, allocations: 299.8 kB / 0.612 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/0.4581, allocations: 10.05 MB / 0.6218 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002058/0.4583, allocations: 35.7 kB / 0.6218 GB, free: 5.285 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/0.4594, allocations: 139.9 kB / 0.622 GB, free: 5.148 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003629/0.463, allocations: 1.813 MB / 0.6237 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/0.4838, allocations: 9.026 MB / 0.6326 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05681/0.5407, allocations: 37.01 MB / 0.6687 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.5542, allocations: 3.16 MB / 0.6718 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/0.5568, allocations: 1.616 MB / 0.6734 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000856/0.5577, allocations: 228.2 kB / 0.6736 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/0.5577, allocations: 51.14 kB / 0.6736 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 4.859e-06/0.5578, allocations: 4 kB / 0.6736 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04584/0.6036, allocations: 12.94 MB / 0.6863 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.6037, allocations: 141.2 kB / 0.6864 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006693/0.6104, allocations: 3.971 MB / 0.6903 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.6106, allocations: 45.7 kB / 0.6903 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.6132, allocations: 3.081 MB / 0.6933 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007506/0.6139, allocations: 0.57 MB / 0.6939 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001812/0.6157, allocations: 1.151 MB / 0.695 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6159, allocations: 309.1 kB / 0.6953 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/0.6189, allocations: 1.928 MB / 0.6972 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006115/0.625, allocations: 5.502 MB / 0.7026 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.6354, allocations: 8.062 MB / 0.7104 GB, free: 5.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.212e-05/0.6355, allocations: 36 kB / 0.7105 GB, free: 5.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01567/0.6512, allocations: 7.926 MB / 0.7182 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.6513, allocations: 60 kB / 0.7183 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/0.6514, allocations: 128.9 kB / 0.7184 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.6541, allocations: 0.9021 MB / 0.7193 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004479/0.6586, allocations: 1.287 MB / 0.7205 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007709/0.6663, allocations: 5.09 MB / 0.7255 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/0.6704, allocations: 299.8 kB / 0.7258 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007937/0.6712, allocations: 364.3 kB / 0.7261 GB, free: 5.488 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.003643/0.6748, allocations: 1.963 MB / 0.728 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007581/0.6756, allocations: 345.7 kB / 0.7284 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005887/0.6815, allocations: 2.782 MB / 0.7311 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.6815, allocations: 19.94 kB / 0.7311 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.6815, allocations: 8 kB / 0.7311 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.6815, allocations: 7.984 kB / 0.7311 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.338/1.02, allocations: 7.127 MB / 0.7381 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.02, allocations: 7.031 kB / 0.7381 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/1.021, allocations: 243.9 kB / 0.7383 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/1.023, allocations: 0.7136 MB / 0.739 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/1.023, allocations: 35 kB / 0.7391 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005154/1.028, allocations: 4.654 MB / 0.7436 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.028, allocations: 0 / 0.7436 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006839/1.035, allocations: 5.137 MB / 0.7486 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.036, allocations: 327 kB / 0.7489 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/1.036, allocations: 22.22 kB / 0.749 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.038, allocations: 83.44 kB / 0.749 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/1.038, allocations: 98.91 kB / 0.7491 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.038, allocations: 47.38 kB / 0.7492 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003355/1.041, allocations: 2.478 MB / 0.7516 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.041, allocations: 0 / 0.7516 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004559/1.046, allocations: 0.8745 MB / 0.7524 GB, free: 144.6 MB / 0.5606 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.0004172/1.046, allocations: 163.3 kB / 0.7526 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005708/1.052, allocations: 4.452 MB / 0.7569 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.052, allocations: 2 kB / 0.757 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/1.053, allocations: 1.288 MB / 0.7582 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.056, allocations: 423.3 kB / 0.7586 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/1.068, allocations: 8.52 MB / 0.7669 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/1.071, allocations: 3.065 MB / 0.7699 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003279/1.074, allocations: 1.786 MB / 0.7717 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006231/1.075, allocations: 251.3 kB / 0.7719 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/1.075, allocations: 0 / 0.7719 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06092/1.136, allocations: 35.99 MB / 0.8071 GB, free: 89.36 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.594511480070651]