Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001912/0.001912, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002235/0.002235, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 230.2 MB / 257.8 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2205/0.2205, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 79.88 kB / 0.4968 GB, free: 8.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3025, allocations: 65.97 MB / 0.5612 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008604/0.3111, allocations: 11.13 MB / 0.5721 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006142/0.3173, allocations: 3.86 MB / 0.5758 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009837/0.3183, allocations: 64.06 kB / 0.5759 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.3227, allocations: 2.722 MB / 0.5786 GB, free: 22.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003845/0.3265, allocations: 1.797 MB / 0.5803 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.328, allocations: 0.6936 MB / 0.581 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004598/0.3326, allocations: 3.593 MB / 0.5845 GB, free: 20.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003142/0.3357, allocations: 2.595 MB / 0.587 GB, free: 19.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.338, allocations: 1.471 MB / 0.5885 GB, free: 18.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.3409, allocations: 2.153 MB / 0.5906 GB, free: 17.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000661/0.3415, allocations: 321.6 kB / 0.5909 GB, free: 17.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.3435, allocations: 1.074 MB / 0.5919 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.3452, allocations: 1.844 MB / 0.5937 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.3471, allocations: 2.09 MB / 0.5958 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00631/0.3534, allocations: 6.701 MB / 0.6023 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3534, allocations: 4 kB / 0.6023 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3534, allocations: 3.938 kB / 0.6023 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001443/0.3535, allocations: 0 / 0.6023 GB, free: 10.82 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.01723/0.3708, allocations: 5.189 MB / 0.6074 GB, free: 7.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.3708, allocations: 9.531 kB / 0.6074 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006746/0.3776, allocations: 1.88 MB / 0.6092 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005011/0.3826, allocations: 2.257 MB / 0.6114 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.3827, allocations: 229.8 kB / 0.6117 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006249/0.3833, allocations: 299.8 kB / 0.6119 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/0.4015, allocations: 10.04 MB / 0.6217 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.4016, allocations: 43.64 kB / 0.6218 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004449/0.4021, allocations: 147.9 kB / 0.6219 GB, free: 8.266 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003357/0.4054, allocations: 1.802 MB / 0.6237 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.4236, allocations: 9.03 MB / 0.6325 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04874/0.4723, allocations: 37.15 MB / 0.6688 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/0.4863, allocations: 3.608 MB / 0.6723 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/0.4888, allocations: 1.624 MB / 0.6739 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.4899, allocations: 0.6785 MB / 0.6746 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.4899, allocations: 51.05 kB / 0.6746 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.879e-06/0.49, allocations: 0 / 0.6746 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.0446/0.5346, allocations: 13.08 MB / 0.6874 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.5346, allocations: 141.2 kB / 0.6875 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/0.5403, allocations: 3.964 MB / 0.6914 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.5406, allocations: 45.88 kB / 0.6914 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002379/0.5429, allocations: 3.093 MB / 0.6944 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006787/0.5436, allocations: 0.57 MB / 0.695 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001582/0.5452, allocations: 1.147 MB / 0.6961 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5453, allocations: 305.1 kB / 0.6964 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/0.5484, allocations: 1.931 MB / 0.6983 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006306/0.5547, allocations: 5.505 MB / 0.7037 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/0.5652, allocations: 8.06 MB / 0.7115 GB, free: 7.379 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.623e-05/0.5653, allocations: 36 kB / 0.7116 GB, free: 7.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01479/0.5801, allocations: 7.924 MB / 0.7193 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.879e-05/0.5802, allocations: 63.94 kB / 0.7194 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/0.5803, allocations: 128 kB / 0.7195 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.5828, allocations: 0.9058 MB / 0.7204 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/0.5867, allocations: 1.287 MB / 0.7216 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007347/0.5941, allocations: 5.188 MB / 0.7267 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/0.5981, allocations: 299.8 kB / 0.727 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006474/0.5988, allocations: 356 kB / 0.7273 GB, free: 7.062 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.003966/0.6027, allocations: 1.974 MB / 0.7293 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007194/0.6034, allocations: 349.7 kB / 0.7296 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005757/0.6092, allocations: 2.77 MB / 0.7323 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.6092, allocations: 7.969 kB / 0.7323 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6092, allocations: 0 / 0.7323 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.6103, allocations: 406.6 kB / 0.7327 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/0.6107, allocations: 20 kB / 0.7327 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.6119, allocations: 75.89 kB / 0.7328 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.6121, allocations: 104.4 kB / 0.7329 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006184/0.6183, allocations: 3.265 MB / 0.7361 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006167/0.6245, allocations: 4.427 MB / 0.7404 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001501/0.626, allocations: 1.039 MB / 0.7414 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004344/0.6303, allocations: 2.481 MB / 0.7438 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of Backend: time 3.21e-07/0.6303, allocations: 0 / 0.7438 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008469/0.6388, allocations: 3.68 MB / 0.7474 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0167/0.6555, allocations: 8.77 MB / 0.756 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of Templates: time 0.3086/0.9641, allocations: 43.37 MB / 0.7983 GB, free: 164.8 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.760858478024602]