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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0009602/0.0009603, allocations: 183.5 kB / 18.04 MB, free: 3.754 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.378/1.378, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0008062/0.0008063, allocations: 99.81 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002908, allocations: 12 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2204, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.341, allocations: 108 MB / 485 MB, free: 4.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.3413, allocations: 103.9 kB / 485.1 MB, free: 4.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9071/1.248, allocations: 232.4 MB / 0.7007 GB, free: 39.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.249, allocations: 0 / 0.7007 GB, free: 39.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008107/1.249, allocations: 233.1 kB / 0.7009 GB, free: 39.05 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.04107/1.29, allocations: 12.28 MB / 0.7129 GB, free: 34.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.29, allocations: 11.25 kB / 0.7129 GB, free: 34.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/1.311, allocations: 3.88 MB / 0.7167 GB, free: 33.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02569/1.336, allocations: 11.02 MB / 0.7275 GB, free: 32.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008264/1.337, allocations: 0.892 MB / 0.7284 GB, free: 32.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00578/1.343, allocations: 1.181 MB / 0.7295 GB, free: 32.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07966/1.423, allocations: 33.17 MB / 0.7619 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007348/1.423, allocations: 103.6 kB / 0.762 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005582/1.429, allocations: 0.5318 MB / 0.7625 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003263/1.432, allocations: 2.587 MB / 0.7651 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06879/1.501, allocations: 30.47 MB / 0.7948 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3878/1.889, allocations: 120.2 MB / 0.9122 GB, free: 33.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04454/1.934, allocations: 17.35 MB / 0.9291 GB, free: 29.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01085/1.945, allocations: 8.814 MB / 0.9377 GB, free: 25.67 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04511/1.99, allocations: 30.89 MB / 0.9679 GB, free: 8.281 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.478e-05/1.99, allocations: 79.77 kB / 0.968 GB, free: 8.211 MB / 474.7 MB Notification: Performance of pre-optimization done (n=489): time 1.044e-05/1.99, allocations: 2.875 kB / 0.968 GB, free: 8.211 MB / 474.7 MB Notification: Performance of matching and sorting (n=726): time 0.8657/2.856, allocations: 171.2 MB / 1.135 GB, free: 67.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/2.856, allocations: 204 kB / 1.135 GB, free: 67.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01393/2.87, allocations: 7.903 MB / 1.143 GB, free: 59.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002134/2.872, allocations: 137.7 kB / 1.143 GB, free: 59.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004082/2.876, allocations: 7.086 MB / 1.15 GB, free: 52.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003472/2.879, allocations: 2.569 MB / 1.153 GB, free: 50.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/2.882, allocations: 288 kB / 1.153 GB, free: 49.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001075/2.883, allocations: 0.9176 MB / 1.154 GB, free: 48.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01567/2.899, allocations: 10.3 MB / 1.164 GB, free: 38.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2454/3.144, allocations: 16.99 MB / 1.18 GB, free: 100.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03881/3.183, allocations: 28.64 MB / 1.208 GB, free: 91.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003466/3.183, allocations: 64.88 kB / 1.208 GB, free: 91.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.04926/3.233, allocations: 27.71 MB / 1.235 GB, free: 84.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004288/3.233, allocations: 100.4 kB / 1.236 GB, free: 84.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005156/3.234, allocations: 228.9 kB / 1.236 GB, free: 84.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/3.234, allocations: 315.7 kB / 1.236 GB, free: 84.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01928/3.253, allocations: 4.263 MB / 1.24 GB, free: 84.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000656/3.254, allocations: 464.5 kB / 1.241 GB, free: 84.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/3.269, allocations: 1.224 MB / 1.242 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004025/3.273, allocations: 0.7468 MB / 1.243 GB, free: 83.68 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.01548/3.289, allocations: 5.466 MB / 1.248 GB, free: 81.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003649/3.292, allocations: 0.8 MB / 1.249 GB, free: 81.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03172/3.324, allocations: 19.61 MB / 1.268 GB, free: 72.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.938e-05/3.324, allocations: 69.06 kB / 1.268 GB, free: 72.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.089e-05/3.324, allocations: 6.891 kB / 1.268 GB, free: 72.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/3.324, allocations: 32.3 kB / 1.268 GB, free: 72.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0768/3.401, allocations: 42.56 MB / 1.31 GB, free: 39.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.418e-05/3.401, allocations: 11.06 kB / 1.31 GB, free: 39.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01314/3.414, allocations: 2.154 MB / 1.312 GB, free: 38.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/3.415, allocations: 28 kB / 1.312 GB, free: 38.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002286/3.417, allocations: 126.8 kB / 1.312 GB, free: 37.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.809e-05/3.417, allocations: 35.88 kB / 1.312 GB, free: 37.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/3.417, allocations: 11.84 kB / 1.312 GB, free: 37.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3034/3.72, allocations: 34.2 MB / 1.345 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007396/3.728, allocations: 2.716 MB / 1.348 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002517/3.73, allocations: 120.8 kB / 1.348 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007221/3.738, allocations: 0.7673 MB / 1.349 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001479/3.739, allocations: 389.7 kB / 1.349 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007179/3.74, allocations: 177.3 kB / 1.349 GB, free: 100.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0081/3.748, allocations: 4.908 MB / 1.354 GB, free: 99.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/3.748, allocations: 0 / 1.354 GB, free: 99.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01323/3.761, allocations: 3.179 MB / 1.357 GB, free: 99.93 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.002249/3.764, allocations: 415 kB / 1.358 GB, free: 99.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03494/3.799, allocations: 23.25 MB / 1.38 GB, free: 99.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/3.799, allocations: 0 / 1.38 GB, free: 99.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01347/3.812, allocations: 9.834 MB / 1.39 GB, free: 98.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01589/3.828, allocations: 0.9564 MB / 1.391 GB, free: 98.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05988/3.888, allocations: 37.92 MB / 1.428 GB, free: 80.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01529/3.903, allocations: 8.046 MB / 1.436 GB, free: 77.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01937/3.923, allocations: 5.077 MB / 1.441 GB, free: 76.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006272/3.929, allocations: 0.6036 MB / 1.441 GB, free: 76.3 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/3.929, allocations: 0 / 1.441 GB, free: 76.3 MB / 490.7 MB Notification: Performance of Templates: time 0.4055/4.334, allocations: 122.7 MB / 1.561 GB, free: 89.36 MB / 490.7 MB 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","../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