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.001894/0.001894, allocations: 71.52 kB / 21.24 MB, free: 0.5469 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.002091/0.002091, allocations: 157.3 kB / 24.5 MB, free: 3.723 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.468/1.468, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.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.2191/0.2191, allocations: 34.27 MB / 295.5 MB, free: 14.6 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.002292/0.002292, allocations: 63.89 kB / 443.1 MB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3536, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.009885/0.3635, allocations: 9.723 MB / 0.5067 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00692/0.3704, allocations: 3.644 MB / 0.5103 GB, free: 21.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.3721, allocations: 77.53 kB / 0.5104 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.3764, allocations: 2.61 MB / 0.5129 GB, free: 20.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.3814, allocations: 1.805 MB / 0.5147 GB, free: 19.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.3834, allocations: 0.6951 MB / 0.5153 GB, free: 18.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005848/0.3893, allocations: 3.581 MB / 0.5188 GB, free: 17.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005339/0.3946, allocations: 2.79 MB / 0.5216 GB, free: 16.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.3986, allocations: 1.497 MB / 0.523 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005151/0.4037, allocations: 2.024 MB / 0.525 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.4056, allocations: 321.9 kB / 0.5253 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/0.4094, allocations: 0.9482 MB / 0.5262 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003721/0.4131, allocations: 1.847 MB / 0.528 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003239/0.4164, allocations: 1.551 MB / 0.5296 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009646/0.426, allocations: 6.723 MB / 0.5361 GB, free: 9.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.426, allocations: 5.312 kB / 0.5361 GB, free: 9.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.426, allocations: 0 / 0.5361 GB, free: 9.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002263/0.4263, allocations: 0 / 0.5361 GB, free: 9.57 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.01897/0.4452, allocations: 5.265 MB / 0.5413 GB, free: 6.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.4453, allocations: 13.06 kB / 0.5413 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007209/0.4525, allocations: 1.927 MB / 0.5432 GB, free: 5.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005745/0.4582, allocations: 2.197 MB / 0.5453 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.4584, allocations: 228.6 kB / 0.5455 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.4597, allocations: 306.7 kB / 0.5458 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.4797, allocations: 10.14 MB / 0.5557 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.4799, allocations: 43.62 kB / 0.5558 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004936/0.4804, allocations: 147.9 kB / 0.5559 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003336/0.4837, allocations: 1.802 MB / 0.5577 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.503, allocations: 9.093 MB / 0.5665 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06891/0.5719, allocations: 34.78 MB / 0.6005 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01938/0.5913, allocations: 3.357 MB / 0.6038 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.594, allocations: 1.602 MB / 0.6054 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008557/0.5949, allocations: 228.3 kB / 0.6056 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.937e-05/0.5949, allocations: 55.14 kB / 0.6056 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.338e-06/0.5949, allocations: 0 / 0.6056 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04926/0.6442, allocations: 13.44 MB / 0.6188 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6443, allocations: 145.2 kB / 0.6189 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006441/0.6507, allocations: 3.64 MB / 0.6224 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003997/0.6511, allocations: 41.7 kB / 0.6225 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002618/0.6538, allocations: 3.113 MB / 0.6255 GB, free: 280 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008577/0.6546, allocations: 0.5665 MB / 0.6261 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001714/0.6563, allocations: 1.158 MB / 0.6272 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6565, allocations: 308.8 kB / 0.6275 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/0.6595, allocations: 1.935 MB / 0.6294 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006154/0.6656, allocations: 5.49 MB / 0.6348 GB, free: 5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.6763, allocations: 8.049 MB / 0.6426 GB, free: 11.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.6765, allocations: 36 kB / 0.6426 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01784/0.6943, allocations: 7.89 MB / 0.6504 GB, free: 3.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/0.6944, allocations: 64.03 kB / 0.6504 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/0.6946, allocations: 128 kB / 0.6505 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002692/0.6973, allocations: 0.8983 MB / 0.6514 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/0.7018, allocations: 1.294 MB / 0.6527 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007387/0.7092, allocations: 5.017 MB / 0.6576 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/0.7141, allocations: 303.7 kB / 0.6579 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/0.7152, allocations: 363.9 kB / 0.6582 GB, free: 11.08 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.004238/0.7194, allocations: 1.967 MB / 0.6601 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007515/0.7201, allocations: 309.9 kB / 0.6604 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006147/0.7263, allocations: 2.743 MB / 0.6631 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.374e-05/0.7263, allocations: 16 kB / 0.6631 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.7263, allocations: 4 kB / 0.6631 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.7264, allocations: 3.984 kB / 0.6631 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.7402, allocations: 6.201 MB / 0.6692 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.7403, allocations: 8.094 kB / 0.6692 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.7417, allocations: 255.7 kB / 0.6694 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/0.744, allocations: 0.7108 MB / 0.6701 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.7441, allocations: 35.98 kB / 0.6702 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007114/0.7513, allocations: 4.591 MB / 0.6747 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.7513, allocations: 7.969 kB / 0.6747 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009061/0.7603, allocations: 5.086 MB / 0.6796 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.7615, allocations: 277.8 kB / 0.6799 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/0.7619, allocations: 31.92 kB / 0.6799 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.7631, allocations: 83.89 kB / 0.68 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.7634, allocations: 92.48 kB / 0.6801 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.7635, allocations: 51.97 kB / 0.6801 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003798/0.7673, allocations: 2.097 MB / 0.6822 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7673, allocations: 0 / 0.6822 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00575/0.7731, allocations: 0.8671 MB / 0.683 GB, free: 1.438 MB / 0.5762 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.0005805/0.7737, allocations: 158.9 kB / 0.6832 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008131/0.7818, allocations: 4.445 MB / 0.6875 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.7818, allocations: 0 / 0.6875 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.7839, allocations: 1.294 MB / 0.6888 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.7863, allocations: 375.1 kB / 0.6892 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.8035, allocations: 8.434 MB / 0.6974 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003847/0.8073, allocations: 2.527 MB / 0.6999 GB, free: 140 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.2581/1.065, allocations: 1.738 MB / 0.7016 GB, free: 165 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/1.066, allocations: 248.8 kB / 0.7018 GB, free: 165 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/1.066, allocations: 0 / 0.7018 GB, free: 165 MB / 0.5919 GB Notification: Performance of Templates: time 0.06145/1.128, allocations: 28.16 MB / 0.7293 GB, free: 159.7 MB / 0.5919 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/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.150260315975174]