Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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.001817/0.001817, 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: 216.6 kB / 24.49 MB, free: 3.93 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 43.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2218, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.02685/0.2487, allocations: 22.85 MB / 455.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.2637, allocations: 7.716 MB / 462.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.266, allocations: 203.2 kB / 463.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01951/0.2855, allocations: 10.71 MB / 473.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008355/0.2939, allocations: 3.715 MB / 477.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.2988, allocations: 2.617 MB / 480.2 MB, free: 6.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.3112, allocations: 10.46 MB / 490.6 MB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.3239, allocations: 11.25 MB / 0.4901 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008005/0.3319, allocations: 5.303 MB / 0.4953 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.3429, allocations: 7.226 MB / 0.5024 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003255/0.3461, allocations: 1.438 MB / 0.5038 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005241/0.3514, allocations: 2.627 MB / 0.5063 GB, free: 240 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006261/0.3576, allocations: 6.129 MB / 0.5123 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007513/0.3652, allocations: 5.196 MB / 0.5174 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3851/0.7503, allocations: 23.12 MB / 0.54 GB, free: 40.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7503, allocations: 1.562 kB / 0.54 GB, free: 40.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7503, allocations: 0.625 kB / 0.54 GB, free: 40.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005594/0.7508, allocations: 0 / 0.54 GB, free: 40.87 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: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.03212/0.7829, allocations: 14.22 MB / 0.5538 GB, free: 36.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.783, allocations: 9.719 kB / 0.5539 GB, free: 36.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.7951, allocations: 3.163 MB / 0.5569 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/0.8095, allocations: 6.899 MB / 0.5637 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003778/0.8099, allocations: 0.7447 MB / 0.5644 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002523/0.8124, allocations: 1.103 MB / 0.5655 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05965/0.8721, allocations: 34.06 MB / 0.5988 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003651/0.8724, allocations: 84.34 kB / 0.5988 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003105/0.8755, allocations: 456.5 kB / 0.5993 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00562/0.8812, allocations: 4.547 MB / 0.6037 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06831/0.9495, allocations: 31.98 MB / 0.6349 GB, free: 7.086 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/1.108, allocations: 106.6 MB / 0.739 GB, free: 11.85 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2465/1.355, allocations: 17.61 MB / 0.7562 GB, free: 216 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009693/1.365, allocations: 9.043 MB / 0.765 GB, free: 212.8 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03488/1.399, allocations: 26.52 MB / 0.7909 GB, free: 197.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/1.399, allocations: 90.12 kB / 0.791 GB, free: 197.8 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=512): time 9.568e-06/1.399, allocations: 3.844 kB / 0.791 GB, free: 197.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=773): time 0.6644/2.064, allocations: 163.2 MB / 0.9504 GB, free: 37.34 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/2.064, allocations: 214 kB / 0.9506 GB, free: 37.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2041/2.268, allocations: 7.353 MB / 0.9578 GB, free: 207.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001874/2.27, allocations: 145.3 kB / 0.9579 GB, free: 207.7 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003096/2.273, allocations: 7.252 MB / 0.965 GB, free: 204.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002568/2.276, allocations: 2.857 MB / 0.9678 GB, free: 202.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00493/2.281, allocations: 2.963 MB / 0.9707 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/2.281, allocations: 309 kB / 0.971 GB, free: 200.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01372/2.294, allocations: 11.11 MB / 0.9818 GB, free: 196.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01589/2.31, allocations: 17.64 MB / 0.9991 GB, free: 183 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0321/2.342, allocations: 30.07 MB / 1.028 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002161/2.342, allocations: 64 kB / 1.028 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1897) (initialization): time 0.03955/2.382, allocations: 29.19 MB / 1.057 GB, free: 129.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/2.382, allocations: 100 kB / 1.057 GB, free: 129.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002632/2.382, allocations: 224 kB / 1.057 GB, free: 129.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/2.383, allocations: 308 kB / 1.058 GB, free: 129 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01873/2.401, allocations: 4.527 MB / 1.062 GB, free: 124.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003102/2.402, allocations: 454.1 kB / 1.062 GB, free: 124 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/2.414, allocations: 1.182 MB / 1.064 GB, free: 122.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/2.416, allocations: 0.7419 MB / 1.064 GB, free: 122.1 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1004 * Number of states: 0 () * Number of discrete variables: 102 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR3.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1861): * Single equations (assignments): 1852 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008017/2.424, allocations: 5.479 MB / 1.07 GB, free: 116.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001948/2.426, allocations: 0.7684 MB / 1.07 GB, free: 115.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0265/2.452, allocations: 21.31 MB / 1.091 GB, free: 94.47 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.502e-05/2.452, allocations: 39.61 kB / 1.091 GB, free: 94.43 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/2.452, allocations: 1.078 kB / 1.091 GB, free: 94.43 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007299/2.46, allocations: 2.814 MB / 1.094 GB, free: 91.61 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002037/2.462, allocations: 116 kB / 1.094 GB, free: 91.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007005/2.469, allocations: 0.7917 MB / 1.095 GB, free: 90.71 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/2.47, allocations: 420.9 kB / 1.095 GB, free: 90.29 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03221/2.502, allocations: 21.88 MB / 1.117 GB, free: 68.48 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03944/2.542, allocations: 36.58 MB / 1.152 GB, free: 31.79 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01057/2.552, allocations: 9.493 MB / 1.162 GB, free: 22.28 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.2043/2.757, allocations: 4.298 MB / 1.166 GB, free: 191.2 MB / 0.5763 GB Notification: Performance of Backend: time 6.01e-07/2.757, allocations: 0 / 1.166 GB, free: 191.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02433/2.781, allocations: 14.57 MB / 1.18 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of SimCode: time 0.03147/2.813, allocations: 22.69 MB / 1.202 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.4181/3.231, allocations: 202.2 MB / 1.4 GB, free: 200.4 MB / 0.5763 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic/PlanarLoops_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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.529101300999173]