Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009877/0.0009878, allocations: 203.8 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007853/0.0007854, allocations: 92.47 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002272/0.0002272, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2045, allocations: 51.3 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.5137, allocations: 110.3 MB / 0.5075 GB, free: 95.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.514, allocations: 94.59 kB / 0.5076 GB, free: 95.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.729/1.243, allocations: 236.9 MB / 0.7389 GB, free: 46.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.578e-06/1.243, allocations: 0 / 0.7389 GB, free: 46.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00072/1.244, allocations: 240.4 kB / 0.7391 GB, free: 46.65 MB / 442.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.03796/1.282, allocations: 12.34 MB / 0.7512 GB, free: 42.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.282, allocations: 10.66 kB / 0.7512 GB, free: 42.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/1.302, allocations: 3.9 MB / 0.755 GB, free: 41.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02359/1.326, allocations: 10.31 MB / 0.765 GB, free: 40.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008129/1.326, allocations: 0.8871 MB / 0.7659 GB, free: 40.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005188/1.332, allocations: 1.188 MB / 0.7671 GB, free: 40.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06528/1.397, allocations: 33.17 MB / 0.7995 GB, free: 18.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003005/1.397, allocations: 103 kB / 0.7996 GB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001637/1.399, allocations: 0.5307 MB / 0.8001 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002472/1.401, allocations: 2.584 MB / 0.8026 GB, free: 16.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06092/1.462, allocations: 30.32 MB / 0.8322 GB, free: 3.742 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.413/1.875, allocations: 120.1 MB / 0.9495 GB, free: 40.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0435/1.919, allocations: 17.34 MB / 0.9664 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/1.93, allocations: 8.818 MB / 0.975 GB, free: 33.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04165/1.972, allocations: 30.87 MB / 1.005 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/1.972, allocations: 88.2 kB / 1.005 GB, free: 16.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=489): time 7.785e-06/1.972, allocations: 3.125 kB / 1.005 GB, free: 16.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=726): time 0.8471/2.819, allocations: 170.1 MB / 1.171 GB, free: 56.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/2.819, allocations: 207.7 kB / 1.172 GB, free: 56.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/2.83, allocations: 7.851 MB / 1.179 GB, free: 48.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001895/2.832, allocations: 141.7 kB / 1.179 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004104/2.836, allocations: 7.079 MB / 1.186 GB, free: 41.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003326/2.84, allocations: 2.577 MB / 1.189 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/2.842, allocations: 292 kB / 1.189 GB, free: 38.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006611/2.842, allocations: 0.9059 MB / 1.19 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01448/2.857, allocations: 10.3 MB / 1.2 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2608/3.118, allocations: 17 MB / 1.217 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0345/3.152, allocations: 28.64 MB / 1.245 GB, free: 82.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003544/3.153, allocations: 66.09 kB / 1.245 GB, free: 82.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.045/3.198, allocations: 27.7 MB / 1.272 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/3.198, allocations: 102.6 kB / 1.272 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003408/3.198, allocations: 226 kB / 1.272 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/3.198, allocations: 325.8 kB / 1.272 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01922/3.218, allocations: 4.259 MB / 1.276 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000551/3.218, allocations: 467.2 kB / 1.277 GB, free: 75.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01626/3.234, allocations: 1.229 MB / 1.278 GB, free: 75.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004009/3.239, allocations: 0.7467 MB / 1.279 GB, free: 75.52 MB / 0.4948 GB 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.01299/3.252, allocations: 5.466 MB / 1.284 GB, free: 73.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002025/3.254, allocations: 0.7962 MB / 1.285 GB, free: 73.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03665/3.29, allocations: 19.6 MB / 1.304 GB, free: 63.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.15e-05/3.29, allocations: 69 kB / 1.304 GB, free: 63.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-05/3.29, allocations: 3.875 kB / 1.304 GB, free: 63.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001791/3.291, allocations: 31.55 kB / 1.304 GB, free: 63.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07744/3.368, allocations: 42.55 MB / 1.346 GB, free: 35.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/3.368, allocations: 4 kB / 1.346 GB, free: 35.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01246/3.381, allocations: 2.155 MB / 1.348 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/3.381, allocations: 28 kB / 1.348 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001794/3.383, allocations: 130 kB / 1.348 GB, free: 33.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.745e-05/3.383, allocations: 31.94 kB / 1.348 GB, free: 33.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/3.383, allocations: 14.75 kB / 1.348 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0448/3.427, allocations: 32.9 MB / 1.38 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006811/3.434, allocations: 2.709 MB / 1.383 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003143/3.437, allocations: 116.8 kB / 1.383 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00857/3.446, allocations: 0.7666 MB / 1.384 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002442/3.449, allocations: 391.3 kB / 1.384 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001695/3.45, allocations: 181.5 kB / 1.384 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.2539/3.704, allocations: 5.735 MB / 1.39 GB, free: 92.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.82e-07/3.704, allocations: 2.094 kB / 1.39 GB, free: 92.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01412/3.718, allocations: 3.176 MB / 1.393 GB, free: 92.79 MB / 0.4948 GB 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.002134/3.72, allocations: 428.8 kB / 1.393 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03196/3.752, allocations: 23.25 MB / 1.416 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/3.753, allocations: 0 / 1.416 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01316/3.766, allocations: 9.833 MB / 1.426 GB, free: 92.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01182/3.778, allocations: 0.9563 MB / 1.427 GB, free: 92.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05315/3.831, allocations: 37.87 MB / 1.464 GB, free: 75.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/3.841, allocations: 8.042 MB / 1.471 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01656/3.858, allocations: 5.065 MB / 1.476 GB, free: 72.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005894/3.864, allocations: 0.5986 MB / 1.477 GB, free: 72.72 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/3.864, allocations: 4 kB / 1.477 GB, free: 72.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.4183/4.282, allocations: 122.7 MB / 1.597 GB, free: 98.99 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic/PlanarLoops_analytic.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches