Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 110.6 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 190.1 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 51.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0685/0.06966, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.1673/0.237, allocations: 26.81 MB / 402.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.2532, allocations: 7.959 MB / 410.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004579/0.2579, allocations: 180.2 kB / 410.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01891/0.2768, allocations: 11.08 MB / 421.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00932/0.2862, allocations: 3.619 MB / 425.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.2916, allocations: 2.598 MB / 428.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01281/0.3044, allocations: 10.36 MB / 438.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01814/0.3225, allocations: 15.8 MB / 454.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007282/0.3298, allocations: 5.252 MB / 459.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009013/0.3389, allocations: 6.798 MB / 466.3 MB, free: 4.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0031/0.342, allocations: 1.438 MB / 467.7 MB, free: 3.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00564/0.3476, allocations: 2.716 MB / 470.4 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005469/0.3531, allocations: 5.991 MB / 476.4 MB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006368/0.3595, allocations: 6.868 MB / 483.3 MB, free: 3.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01869/0.3782, allocations: 23.01 MB / 0.4944 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3782, allocations: 0 / 0.4944 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3782, allocations: 0 / 0.4944 GB, free: 12.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004216/0.3787, allocations: 0 / 0.4944 GB, free: 12.7 MB / 430.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.02891/0.4076, allocations: 13.99 MB / 0.5081 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4076, allocations: 8.031 kB / 0.5081 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.4192, allocations: 3.074 MB / 0.5111 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.4304, allocations: 7.181 MB / 0.5181 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004745/0.4309, allocations: 0.7457 MB / 0.5188 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.4329, allocations: 1.105 MB / 0.5199 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3506/0.7835, allocations: 33.88 MB / 0.553 GB, free: 131.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000272/0.7838, allocations: 81.8 kB / 0.5531 GB, free: 131.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/0.785, allocations: 452.7 kB / 0.5535 GB, free: 131.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006866/0.7919, allocations: 4.553 MB / 0.558 GB, free: 131.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05988/0.8518, allocations: 31.95 MB / 0.5892 GB, free: 119.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1049/0.9567, allocations: 113.6 MB / 0.7001 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05272/1.009, allocations: 18.69 MB / 0.7184 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01184/1.021, allocations: 10.02 MB / 0.7281 GB, free: 8.688 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1991/1.22, allocations: 32.24 MB / 0.7596 GB, free: 167.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/1.221, allocations: 89.91 kB / 0.7597 GB, free: 167.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=512): time 7.725e-06/1.221, allocations: 8.516 kB / 0.7597 GB, free: 167.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=773): time 0.5474/1.768, allocations: 165.8 MB / 0.9217 GB, free: 34.61 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.768, allocations: 206.2 kB / 0.9219 GB, free: 34.38 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007761/1.776, allocations: 7.991 MB / 0.9297 GB, free: 26.43 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009483/1.777, allocations: 149.7 kB / 0.9298 GB, free: 26.27 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00254/1.779, allocations: 6.936 MB / 0.9366 GB, free: 19.34 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00201/1.781, allocations: 2.728 MB / 0.9393 GB, free: 16.64 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1695/1.951, allocations: 3.035 MB / 0.9422 GB, free: 162.1 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.341e-05/1.951, allocations: 303 kB / 0.9425 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01506/1.966, allocations: 11.22 MB / 0.9535 GB, free: 158.7 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01719/1.983, allocations: 17.78 MB / 0.9708 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0297/2.013, allocations: 30.23 MB / 1 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/2.013, allocations: 60.31 kB / 1 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.03495/2.048, allocations: 29.53 MB / 1.029 GB, free: 103.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/2.048, allocations: 104.6 kB / 1.029 GB, free: 103.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002113/2.048, allocations: 220 kB / 1.03 GB, free: 103.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/2.049, allocations: 312 kB / 1.03 GB, free: 103.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01877/2.067, allocations: 4.589 MB / 1.034 GB, free: 99.73 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002861/2.068, allocations: 452.7 kB / 1.035 GB, free: 99.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/2.079, allocations: 1.182 MB / 1.036 GB, free: 98.51 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/2.08, allocations: 0.7451 MB / 1.037 GB, free: 97.79 MB / 0.5138 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 (1905): * Single equations (assignments): 1896 * 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.00685/2.087, allocations: 5.499 MB / 1.042 GB, free: 93.02 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/2.089, allocations: 0.8033 MB / 1.043 GB, free: 92.64 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02529/2.114, allocations: 21.35 MB / 1.064 GB, free: 72.52 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.127e-05/2.114, allocations: 35.86 kB / 1.064 GB, free: 72.48 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/2.114, allocations: 3.938 kB / 1.064 GB, free: 72.48 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004707/2.119, allocations: 2.949 MB / 1.067 GB, free: 69.94 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/2.12, allocations: 120 kB / 1.067 GB, free: 69.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0066/2.127, allocations: 0.786 MB / 1.067 GB, free: 69.04 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/2.128, allocations: 398.3 kB / 1.068 GB, free: 68.64 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03135/2.16, allocations: 21.89 MB / 1.089 GB, free: 46.82 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03742/2.197, allocations: 36.58 MB / 1.125 GB, free: 10.3 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1777/2.375, allocations: 10.64 MB / 1.135 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006498/2.381, allocations: 5.002 MB / 1.14 GB, free: 148.9 MB / 0.5138 GB Notification: Performance of Backend: time 7.41e-07/2.381, allocations: 0 / 1.14 GB, free: 148.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02477/2.406, allocations: 16.19 MB / 1.156 GB, free: 142.2 MB / 0.5138 GB Notification: Performance of SimCode: time 0.02954/2.436, allocations: 22.61 MB / 1.178 GB, free: 132.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.3826/2.818, allocations: 184.1 MB / 1.358 GB, free: 166.6 MB / 0.5294 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic/PlanarLoops_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches