Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2.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.001818/0.001818, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002242/0.002242, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2339/0.2339, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.Forces.Force2,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_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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_ModelicaTest.MultiBody.Forces.Force2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.91 kB / 0.4974 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2933, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.02717/0.3205, allocations: 22.35 MB / 0.5837 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.3361, allocations: 7.004 MB / 0.5905 GB, free: 6.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004478/0.3405, allocations: 234.9 kB / 0.5907 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02015/0.3607, allocations: 10.08 MB / 0.6006 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.3716, allocations: 4.073 MB / 0.6046 GB, free: 8.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004736/0.3763, allocations: 2.028 MB / 0.6065 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01836/0.3947, allocations: 12.71 MB / 0.619 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01231/0.407, allocations: 9.252 MB / 0.628 GB, free: 120 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008221/0.4152, allocations: 4.69 MB / 0.6326 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.4262, allocations: 6.551 MB / 0.639 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003075/0.4293, allocations: 1.016 MB / 0.64 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004764/0.4341, allocations: 1.799 MB / 0.6417 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006602/0.4407, allocations: 5.805 MB / 0.6474 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007096/0.4478, allocations: 4.743 MB / 0.652 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02418/0.4719, allocations: 19.03 MB / 0.6706 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4719, allocations: 0 / 0.6706 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4719, allocations: 0 / 0.6706 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007094/0.4727, allocations: 0 / 0.6706 GB, free: 4.336 MB / 0.4981 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.03534/0.508, allocations: 13.75 MB / 0.684 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.508, allocations: 8.031 kB / 0.684 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02099/0.529, allocations: 4.096 MB / 0.688 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/0.55, allocations: 7.901 MB / 0.6958 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007088/0.5507, allocations: 0.6779 MB / 0.6964 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003487/0.5542, allocations: 0.9135 MB / 0.6973 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0585/0.6127, allocations: 26.29 MB / 0.723 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005722/0.6133, allocations: 119.1 kB / 0.7231 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002934/0.6162, allocations: 427.7 kB / 0.7235 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009314/0.6255, allocations: 4.57 MB / 0.728 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5009/1.126, allocations: 22 MB / 0.7494 GB, free: 137.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1017/1.228, allocations: 95.45 MB / 0.8427 GB, free: 43.56 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03259/1.261, allocations: 12.42 MB / 0.8548 GB, free: 31.12 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007599/1.268, allocations: 7.33 MB / 0.8619 GB, free: 23.78 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02549/1.294, allocations: 15.28 MB / 0.8769 GB, free: 8.77 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/1.294, allocations: 90.5 kB / 0.877 GB, free: 8.672 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=469): time 1.092e-05/1.294, allocations: 0 / 0.877 GB, free: 8.672 MB / 0.5607 GB Notification: Performance of matching and sorting (n=553): time 0.2149/1.509, allocations: 69.11 MB / 0.9444 GB, free: 3.953 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002468/1.509, allocations: 372.8 kB / 0.9448 GB, free: 3.512 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01453/1.524, allocations: 9.13 MB / 0.9537 GB, free: 10.62 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/1.525, allocations: 109.7 kB / 0.9538 GB, free: 10.5 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.006715/1.532, allocations: 7.77 MB / 0.9614 GB, free: 2.676 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.003353/1.535, allocations: 2.147 MB / 0.9635 GB, free: 0.5117 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005738/1.541, allocations: 2.964 MB / 0.9664 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.541, allocations: 301.1 kB / 0.9667 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01123/1.552, allocations: 6.524 MB / 0.9731 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02014/1.572, allocations: 14.34 MB / 0.9871 GB, free: 4.594 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.287/1.859, allocations: 22.26 MB / 1.009 GB, free: 210.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002185/1.859, allocations: 77.56 kB / 1.009 GB, free: 210.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.03924/1.899, allocations: 24.5 MB / 1.033 GB, free: 202.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/1.899, allocations: 120.7 kB / 1.033 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003332/1.899, allocations: 268.7 kB / 1.033 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/1.91, allocations: 4.433 MB / 1.038 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/1.921, allocations: 3.337 MB / 1.041 GB, free: 197.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02805/1.949, allocations: 27.7 MB / 1.068 GB, free: 171.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/1.961, allocations: 0.8535 MB / 1.069 GB, free: 171.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002734/1.963, allocations: 0.8124 MB / 1.069 GB, free: 170.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1218 * Number of states: 0 () * Number of discrete variables: 132 (force4.torqueArrow.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.forceArrow.twoHeadedArrow,force4.forceArrow.headAtOrigin,force3.torqueArrow.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.forceArrow.twoHeadedArrow,force3.forceArrow.headAtOrigin,force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.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],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[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,22,100.0%), (2,22,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007635/1.971, allocations: 5.094 MB / 1.074 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/1.973, allocations: 0.8346 MB / 1.075 GB, free: 165 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02185/1.995, allocations: 14.45 MB / 1.089 GB, free: 150.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001341/1.995, allocations: 31.89 kB / 1.089 GB, free: 150.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.995, allocations: 4 kB / 1.089 GB, free: 150.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/1.997, allocations: 0.7593 MB / 1.09 GB, free: 150.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002178/1.999, allocations: 91.83 kB / 1.09 GB, free: 150.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004643/2.004, allocations: 396.2 kB / 1.091 GB, free: 149.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/2.005, allocations: 412.2 kB / 1.091 GB, free: 149.3 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02692/2.032, allocations: 14.82 MB / 1.105 GB, free: 134.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02379/2.056, allocations: 18.19 MB / 1.123 GB, free: 116.7 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006116/2.062, allocations: 4.697 MB / 1.128 GB, free: 112 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.009809/2.072, allocations: 5.38 MB / 1.133 GB, free: 106.6 MB / 0.67 GB Notification: Performance of Backend: time 8.12e-07/2.072, allocations: 0 / 1.133 GB, free: 106.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02395/2.096, allocations: 11.05 MB / 1.144 GB, free: 95.62 MB / 0.67 GB Notification: Performance of SimCode: time 0.04415/2.14, allocations: 24.81 MB / 1.168 GB, free: 70.78 MB / 0.67 GB Notification: Performance of Templates: time 0.4972/2.637, allocations: 143.6 MB / 1.308 GB, free: 196.8 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force2.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: 10.907742720999522]