Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2.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.0013/0.0013, allocations: 112.3 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.001464/0.001464, allocations: 210.4 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.398/1.398, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2212/0.2212, allocations: 46.89 MB / 361.1 MB, free: 4.652 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.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2") [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.002293/0.002293, allocations: 79.88 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3544, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.0303/0.3847, allocations: 26.15 MB / 0.5868 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.4018, allocations: 7.253 MB / 0.5938 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006387/0.4082, allocations: 195.4 kB / 0.594 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01973/0.4279, allocations: 10.52 MB / 0.6043 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01326/0.4412, allocations: 4.061 MB / 0.6083 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007425/0.4486, allocations: 2.02 MB / 0.6102 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02198/0.4706, allocations: 12.65 MB / 0.6226 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.4832, allocations: 8.745 MB / 0.6311 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008454/0.4916, allocations: 4.604 MB / 0.6356 GB, free: 8.496 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.5029, allocations: 6.535 MB / 0.642 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004231/0.5072, allocations: 1.012 MB / 0.643 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006358/0.5135, allocations: 1.916 MB / 0.6449 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009228/0.5228, allocations: 5.793 MB / 0.6505 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01258/0.5353, allocations: 6.266 MB / 0.6566 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02766/0.563, allocations: 18.86 MB / 0.6751 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.563, allocations: 4 kB / 0.6751 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.274e-06/0.563, allocations: 0 / 0.6751 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0007635/0.5638, allocations: 4 kB / 0.6751 GB, free: 15.96 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3835 * Number of variables: 3835 Notification: Performance of Generate backend data structure: time 0.04171/0.6055, allocations: 13.81 MB / 0.6886 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.6055, allocations: 8.031 kB / 0.6886 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02231/0.6279, allocations: 4.096 MB / 0.6926 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02336/0.6512, allocations: 8 MB / 0.7004 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008711/0.6521, allocations: 0.6701 MB / 0.701 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004348/0.6564, allocations: 0.9252 MB / 0.7019 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06372/0.7201, allocations: 25.76 MB / 0.7271 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007546/0.7209, allocations: 115.2 kB / 0.7272 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00368/0.7246, allocations: 427.7 kB / 0.7276 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009413/0.734, allocations: 4.531 MB / 0.732 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6016/1.336, allocations: 21.63 MB / 0.7532 GB, free: 134.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/1.441, allocations: 101.2 MB / 0.8519 GB, free: 35.45 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02878/1.47, allocations: 11.91 MB / 0.8636 GB, free: 23.35 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007357/1.477, allocations: 7.118 MB / 0.8705 GB, free: 16.22 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02691/1.504, allocations: 17.69 MB / 0.8878 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.659e-05/1.504, allocations: 86.16 kB / 0.8879 GB, free: 14.53 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=459): time 6.613e-06/1.504, allocations: 0 / 0.8879 GB, free: 14.53 MB / 0.5763 GB Notification: Performance of matching and sorting (n=543): time 0.1846/1.689, allocations: 67.32 MB / 0.9536 GB, free: 11.37 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002346/1.689, allocations: 372.7 kB / 0.954 GB, free: 10.93 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0222/1.711, allocations: 11.47 MB / 0.9652 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001661/1.713, allocations: 109.7 kB / 0.9653 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0087/1.722, allocations: 7.752 MB / 0.9729 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00406/1.726, allocations: 2.112 MB / 0.9749 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008518/1.734, allocations: 2.972 MB / 0.9778 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.734, allocations: 301.1 kB / 0.9781 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01246/1.747, allocations: 6.482 MB / 0.9844 GB, free: 11.75 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3338/2.081, allocations: 14.27 MB / 0.9984 GB, free: 220.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02312/2.104, allocations: 22.24 MB / 1.02 GB, free: 205.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004229/2.104, allocations: 78.34 kB / 1.02 GB, free: 205.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=1880) (initialization): time 0.04272/2.147, allocations: 24.64 MB / 1.044 GB, free: 197.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/2.147, allocations: 123.4 kB / 1.044 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003146/2.147, allocations: 266.8 kB / 1.045 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/2.158, allocations: 4.467 MB / 1.049 GB, free: 196.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/2.168, allocations: 3.325 MB / 1.052 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02771/2.196, allocations: 28.62 MB / 1.08 GB, free: 166.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/2.208, allocations: 0.8539 MB / 1.081 GB, free: 165.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002578/2.211, allocations: 0.8192 MB / 1.082 GB, free: 165 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1230 * Number of states: 0 () * Number of discrete variables: 132 (torque4.torqueArrow.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.forceArrow.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque3.torqueArrow.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.forceArrow.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1740): * Single equations (assignments): 1729 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,23,100.0%), (2,23,100.0%), (2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008043/2.219, allocations: 5.108 MB / 1.087 GB, free: 160.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/2.221, allocations: 1.028 MB / 1.088 GB, free: 159.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02197/2.243, allocations: 14.47 MB / 1.102 GB, free: 145.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/2.243, allocations: 27.89 kB / 1.102 GB, free: 145.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/2.243, allocations: 4 kB / 1.102 GB, free: 145.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003373/2.246, allocations: 1.109 MB / 1.103 GB, free: 144.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003437/2.25, allocations: 95.69 kB / 1.103 GB, free: 144.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006269/2.256, allocations: 395.4 kB / 1.103 GB, free: 144 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001522/2.257, allocations: 383.6 kB / 1.104 GB, free: 143.6 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02556/2.283, allocations: 14.67 MB / 1.118 GB, free: 129 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01924/2.302, allocations: 18.09 MB / 1.136 GB, free: 110.8 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005035/2.307, allocations: 4.621 MB / 1.14 GB, free: 106.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01006/2.317, allocations: 7.326 MB / 1.148 GB, free: 98.88 MB / 0.67 GB Notification: Performance of Backend: time 6.61e-07/2.317, allocations: 0 / 1.148 GB, free: 98.88 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02269/2.34, allocations: 11.06 MB / 1.158 GB, free: 87.86 MB / 0.67 GB Notification: Performance of SimCode: time 0.04654/2.387, allocations: 25.45 MB / 1.183 GB, free: 62.38 MB / 0.67 GB Notification: Performance of Templates: time 0.4649/2.851, allocations: 138.5 MB / 1.318 GB, free: 172.1 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Torque2/Torque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque2.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: 11.004700446967036]