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.001629/0.001628, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001042/0.001042, allocations: 90.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.117e-05, allocations: 0 / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09495, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5523, allocations: 107.7 MB / 476.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.5527, allocations: 82.89 kB / 476.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.173/1.726, allocations: 235.2 MB / 0.6954 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.726, allocations: 0 / 0.6954 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008508/1.727, allocations: 236 kB / 0.6956 GB, free: 0.5781 MB / 426.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.679/2.406, allocations: 12.3 MB / 0.7076 GB, free: 40.82 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/2.406, allocations: 9.625 kB / 0.7076 GB, free: 40.82 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03619/2.442, allocations: 3.984 MB / 0.7115 GB, free: 40.07 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04814/2.49, allocations: 12.2 MB / 0.7234 GB, free: 38.9 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001333/2.492, allocations: 0.8877 MB / 0.7243 GB, free: 38.87 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007384/2.499, allocations: 1.186 MB / 0.7255 GB, free: 38.86 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1246/2.624, allocations: 33.53 MB / 0.7582 GB, free: 34.05 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009628/2.625, allocations: 104.7 kB / 0.7583 GB, free: 34.05 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007056/2.632, allocations: 0.5318 MB / 0.7588 GB, free: 34.05 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005811/2.638, allocations: 2.579 MB / 0.7614 GB, free: 34.03 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1089/2.747, allocations: 30.61 MB / 0.7913 GB, free: 28.2 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6022/3.349, allocations: 120.7 MB / 0.9091 GB, free: 26.39 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08668/3.436, allocations: 17.26 MB / 0.926 GB, free: 25.7 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01798/3.454, allocations: 8.726 MB / 0.9345 GB, free: 25.65 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07226/3.526, allocations: 31.09 MB / 0.9649 GB, free: 17.62 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.79e-05/3.526, allocations: 86.98 kB / 0.965 GB, free: 17.58 MB / 474.8 MB Notification: Performance of pre-optimization done (n=489): time 8.727e-06/3.526, allocations: 0 / 0.965 GB, free: 17.58 MB / 474.8 MB Notification: Performance of matching and sorting (n=726): time 1.079/4.606, allocations: 123.4 MB / 1.085 GB, free: 87.57 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/4.606, allocations: 206.9 kB / 1.086 GB, free: 87.41 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01829/4.624, allocations: 6.932 MB / 1.092 GB, free: 86.63 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002641/4.627, allocations: 141.1 kB / 1.093 GB, free: 86.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007816/4.635, allocations: 6.843 MB / 1.099 GB, free: 82.57 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.007456/4.642, allocations: 2.572 MB / 1.102 GB, free: 81.01 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004967/4.647, allocations: 289.3 kB / 1.102 GB, free: 81.01 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.002369/4.65, allocations: 0.914 MB / 1.103 GB, free: 80.67 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03534/4.685, allocations: 10.1 MB / 1.113 GB, free: 78.51 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04139/4.727, allocations: 16.72 MB / 1.129 GB, free: 65.58 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04296/4.77, allocations: 12.88 MB / 1.142 GB, free: 60.59 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003667/4.77, allocations: 65.25 kB / 1.142 GB, free: 60.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.092/4.862, allocations: 27.02 MB / 1.168 GB, free: 50.06 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/4.862, allocations: 100 kB / 1.168 GB, free: 49.96 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003639/4.863, allocations: 228 kB / 1.168 GB, free: 49.74 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/4.863, allocations: 348 kB / 1.169 GB, free: 49.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03678/4.9, allocations: 4.269 MB / 1.173 GB, free: 46.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005419/4.901, allocations: 457.3 kB / 1.173 GB, free: 45.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02294/4.923, allocations: 1.223 MB / 1.175 GB, free: 44.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004363/4.928, allocations: 0.7495 MB / 1.175 GB, free: 44.02 MB / 490.8 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 () * 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.007833/4.936, allocations: 1.141 MB / 1.176 GB, free: 42.89 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004367/4.94, allocations: 0.8012 MB / 1.177 GB, free: 42.08 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05362/4.994, allocations: 19.39 MB / 1.196 GB, free: 25.18 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/4.994, allocations: 72 kB / 1.196 GB, free: 25.11 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/4.994, allocations: 0 / 1.196 GB, free: 25.11 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001926/4.994, allocations: 34.73 kB / 1.196 GB, free: 25.11 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.468/5.462, allocations: 42.37 MB / 1.238 GB, free: 81.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/5.462, allocations: 11.25 kB / 1.238 GB, free: 81.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02563/5.488, allocations: 2.145 MB / 1.24 GB, free: 81.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/5.488, allocations: 38.73 kB / 1.24 GB, free: 81.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002511/5.491, allocations: 123.4 kB / 1.24 GB, free: 81.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001048/5.491, allocations: 31.38 kB / 1.24 GB, free: 81.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/5.491, allocations: 6.219 kB / 1.24 GB, free: 81.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07666/5.568, allocations: 33.61 MB / 1.273 GB, free: 74.63 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01102/5.579, allocations: 2.714 MB / 1.275 GB, free: 73.57 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004652/5.583, allocations: 123.9 kB / 1.276 GB, free: 73.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01499/5.598, allocations: 0.7575 MB / 1.276 GB, free: 73.4 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003183/5.602, allocations: 396.5 kB / 1.277 GB, free: 73.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002376/5.604, allocations: 179.5 kB / 1.277 GB, free: 73.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01372/5.618, allocations: 4.797 MB / 1.282 GB, free: 71.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.52e-07/5.618, allocations: 0 / 1.282 GB, free: 71.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02555/5.643, allocations: 3.169 MB / 1.285 GB, free: 71.29 MB / 490.8 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 () * 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.003635/5.647, allocations: 414.6 kB / 1.285 GB, free: 71.11 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.05104/5.698, allocations: 22.93 MB / 1.307 GB, free: 62.15 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/5.698, allocations: 0 / 1.307 GB, free: 62.15 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02171/5.72, allocations: 9.727 MB / 1.317 GB, free: 57.87 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008545/5.729, allocations: 0.859 MB / 1.318 GB, free: 57.34 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08842/5.817, allocations: 30.19 MB / 1.347 GB, free: 30.46 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02039/5.837, allocations: 8.279 MB / 1.355 GB, free: 24.43 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01358/5.851, allocations: 0.7031 MB / 1.356 GB, free: 23.76 MB / 490.8 MB Notification: Performance of SimCode: time 1.473e-06/5.851, allocations: 0 / 1.356 GB, free: 23.76 MB / 490.8 MB Notification: Performance of Templates: time 0.8564/6.708, allocations: 185.9 MB / 1.538 GB, free: 14.93 MB / 0.4949 GB 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