Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009468/0.0009467, allocations: 181.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007774/0.0007772, allocations: 89.36 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2354, allocations: 47.58 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.3611, allocations: 108 MB / 483.7 MB, free: 4.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.3614, allocations: 95.94 kB / 483.8 MB, free: 4.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8299/1.191, allocations: 232.4 MB / 0.6995 GB, free: 38.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.013e-06/1.191, allocations: 0 / 0.6995 GB, free: 38.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005275/1.192, allocations: 235.9 kB / 0.6997 GB, free: 38.93 MB / 410.7 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.03714/1.229, allocations: 12.28 MB / 0.7117 GB, free: 34.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.229, allocations: 13.45 kB / 0.7117 GB, free: 34.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01932/1.248, allocations: 3.883 MB / 0.7155 GB, free: 33.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02967/1.278, allocations: 11.02 MB / 0.7262 GB, free: 32.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009256/1.279, allocations: 0.8905 MB / 0.7271 GB, free: 32.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006254/1.285, allocations: 1.179 MB / 0.7283 GB, free: 32.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07851/1.364, allocations: 33.17 MB / 0.7607 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000644/1.365, allocations: 101.4 kB / 0.7608 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00526/1.37, allocations: 0.5346 MB / 0.7613 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003452/1.373, allocations: 2.593 MB / 0.7638 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06898/1.442, allocations: 30.51 MB / 0.7936 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4022/1.845, allocations: 120.2 MB / 0.9109 GB, free: 33 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04686/1.892, allocations: 17.34 MB / 0.9279 GB, free: 29.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01212/1.904, allocations: 8.814 MB / 0.9365 GB, free: 25.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05063/1.954, allocations: 30.89 MB / 0.9667 GB, free: 8.059 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.073e-05/1.955, allocations: 89.89 kB / 0.9667 GB, free: 7.984 MB / 474.7 MB Notification: Performance of pre-optimization done (n=489): time 1.213e-05/1.955, allocations: 0 / 0.9667 GB, free: 7.984 MB / 474.7 MB Notification: Performance of matching and sorting (n=726): time 0.8729/2.827, allocations: 171.2 MB / 1.134 GB, free: 67.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/2.828, allocations: 201.8 kB / 1.134 GB, free: 67.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01723/2.845, allocations: 7.904 MB / 1.142 GB, free: 59.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002602/2.848, allocations: 137.7 kB / 1.142 GB, free: 59.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005364/2.853, allocations: 7.086 MB / 1.149 GB, free: 52.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004633/2.858, allocations: 2.576 MB / 1.151 GB, free: 50.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003305/2.861, allocations: 290.7 kB / 1.152 GB, free: 50.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00156/2.863, allocations: 0.9059 MB / 1.153 GB, free: 49.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01729/2.88, allocations: 10.31 MB / 1.163 GB, free: 38.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2654/3.145, allocations: 16.99 MB / 1.179 GB, free: 99.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03758/3.183, allocations: 28.64 MB / 1.207 GB, free: 91.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003482/3.183, allocations: 69.97 kB / 1.207 GB, free: 91.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.05103/3.234, allocations: 27.7 MB / 1.234 GB, free: 84.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001905/3.235, allocations: 102.9 kB / 1.234 GB, free: 84.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003205/3.235, allocations: 225.8 kB / 1.235 GB, free: 84.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/3.235, allocations: 317.1 kB / 1.235 GB, free: 84.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01937/3.255, allocations: 4.262 MB / 1.239 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004657/3.255, allocations: 466.9 kB / 1.24 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01467/3.27, allocations: 1.223 MB / 1.241 GB, free: 83.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004338/3.274, allocations: 0.7475 MB / 1.241 GB, free: 83.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1034 * 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],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.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 (1848): * Single equations (assignments): 1842 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01564/3.29, allocations: 5.467 MB / 1.247 GB, free: 80.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002662/3.293, allocations: 0.7999 MB / 1.248 GB, free: 80.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03444/3.327, allocations: 19.61 MB / 1.267 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/3.327, allocations: 74.64 kB / 1.267 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/3.327, allocations: 0 / 1.267 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000203/3.327, allocations: 35.88 kB / 1.267 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0824/3.41, allocations: 42.55 MB / 1.308 GB, free: 39.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.193e-05/3.41, allocations: 10.19 kB / 1.308 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0128/3.423, allocations: 2.146 MB / 1.31 GB, free: 38.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/3.423, allocations: 31.94 kB / 1.31 GB, free: 38.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002308/3.425, allocations: 130.7 kB / 1.311 GB, free: 38.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.772e-05/3.425, allocations: 35.88 kB / 1.311 GB, free: 38.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/3.425, allocations: 11.7 kB / 1.311 GB, free: 38.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3248/3.75, allocations: 34.13 MB / 1.344 GB, free: 99.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008332/3.759, allocations: 2.713 MB / 1.347 GB, free: 99.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003791/3.762, allocations: 121.3 kB / 1.347 GB, free: 99.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009385/3.772, allocations: 0.7607 MB / 1.348 GB, free: 99.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002625/3.774, allocations: 396.1 kB / 1.348 GB, free: 99.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001095/3.776, allocations: 179.6 kB / 1.348 GB, free: 99.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01093/3.787, allocations: 4.911 MB / 1.353 GB, free: 99.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.02e-07/3.787, allocations: 0 / 1.353 GB, free: 99.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0184/3.805, allocations: 3.173 MB / 1.356 GB, free: 99.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (710): * Single equations (assignments): 707 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00289/3.808, allocations: 415.8 kB / 1.356 GB, free: 99.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03904/3.847, allocations: 23.25 MB / 1.379 GB, free: 99.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/3.847, allocations: 3.469 kB / 1.379 GB, free: 99.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01467/3.862, allocations: 9.835 MB / 1.389 GB, free: 98.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01662/3.878, allocations: 0.9477 MB / 1.39 GB, free: 98.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0799/3.958, allocations: 39.33 MB / 1.428 GB, free: 78.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01871/3.977, allocations: 8.046 MB / 1.436 GB, free: 76.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009416/3.987, allocations: 0.7076 MB / 1.437 GB, free: 76.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.372e-06/3.987, allocations: 0 / 1.437 GB, free: 76.16 MB / 490.7 MB Notification: Performance of Templates: time 0.5402/4.527, allocations: 189.4 MB / 1.621 GB, free: 51.25 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches