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.001466/0.001466, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.734/1.734, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009341/0.0009342, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.762e-05, allocations: 8 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.5665, allocations: 107.7 MB / 477.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.5668, allocations: 85.7 kB / 477.8 MB, free: 1.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004/1.571, allocations: 235.2 MB / 0.6963 GB, free: 456 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.886e-06/1.571, allocations: 0 / 0.6963 GB, free: 456 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001062/1.572, allocations: 232 kB / 0.6965 GB, free: 224 kB / 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.5963/2.168, allocations: 12.3 MB / 0.7085 GB, free: 40.38 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/2.168, allocations: 9.969 kB / 0.7086 GB, free: 40.38 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02582/2.194, allocations: 3.98 MB / 0.7124 GB, free: 39.63 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03574/2.23, allocations: 12.2 MB / 0.7244 GB, free: 38.44 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/2.231, allocations: 0.8891 MB / 0.7252 GB, free: 38.41 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008949/2.24, allocations: 1.187 MB / 0.7264 GB, free: 38.39 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09565/2.336, allocations: 33.53 MB / 0.7591 GB, free: 33.59 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001374/2.337, allocations: 101.4 kB / 0.7592 GB, free: 33.59 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008779/2.346, allocations: 0.5405 MB / 0.7597 GB, free: 33.59 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005212/2.351, allocations: 2.576 MB / 0.7623 GB, free: 33.57 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07322/2.424, allocations: 30.61 MB / 0.7922 GB, free: 27.62 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5159/2.94, allocations: 120.9 MB / 0.9102 GB, free: 26.25 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04972/2.99, allocations: 17.25 MB / 0.9271 GB, free: 25.56 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0125/3.003, allocations: 8.728 MB / 0.9356 GB, free: 25.51 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05286/3.056, allocations: 31.09 MB / 0.966 GB, free: 17.48 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.718e-05/3.056, allocations: 89.14 kB / 0.966 GB, free: 17.43 MB / 474.8 MB Notification: Performance of pre-optimization done (n=489): time 1.134e-05/3.056, allocations: 0 / 0.966 GB, free: 17.43 MB / 474.8 MB Notification: Performance of matching and sorting (n=726): time 0.7276/3.783, allocations: 123.6 MB / 1.087 GB, free: 87.37 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/3.783, allocations: 206.8 kB / 1.087 GB, free: 87.21 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/3.795, allocations: 6.93 MB / 1.094 GB, free: 86.51 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002425/3.797, allocations: 135.7 kB / 1.094 GB, free: 86.48 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00494/3.802, allocations: 7.086 MB / 1.101 GB, free: 82.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004035/3.806, allocations: 2.582 MB / 1.103 GB, free: 80.94 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/3.808, allocations: 288.7 kB / 1.104 GB, free: 80.94 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006613/3.808, allocations: 0.9092 MB / 1.104 GB, free: 80.6 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01369/3.822, allocations: 10.1 MB / 1.114 GB, free: 78.14 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02265/3.845, allocations: 16.72 MB / 1.131 GB, free: 65.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02806/3.873, allocations: 12.87 MB / 1.143 GB, free: 60.22 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004437/3.873, allocations: 66.19 kB / 1.143 GB, free: 60.22 MB / 490.8 MB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.06054/3.934, allocations: 27.28 MB / 1.17 GB, free: 49.27 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003014/3.934, allocations: 100 kB / 1.17 GB, free: 49.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004297/3.935, allocations: 228 kB / 1.17 GB, free: 48.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/3.935, allocations: 348 kB / 1.171 GB, free: 48.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01955/3.955, allocations: 4.266 MB / 1.175 GB, free: 45.24 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005929/3.955, allocations: 460.6 kB / 1.175 GB, free: 44.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01677/3.972, allocations: 1.219 MB / 1.176 GB, free: 43.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003978/3.976, allocations: 0.754 MB / 1.177 GB, free: 43.23 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.00631/3.982, allocations: 1.134 MB / 1.178 GB, free: 42.1 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003446/3.986, allocations: 0.8022 MB / 1.179 GB, free: 41.29 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03202/4.018, allocations: 19.39 MB / 1.198 GB, free: 24.38 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.578e-05/4.018, allocations: 72 kB / 1.198 GB, free: 24.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.436e-05/4.018, allocations: 3.562 kB / 1.198 GB, free: 24.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001269/4.018, allocations: 38.27 kB / 1.198 GB, free: 24.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3764/4.395, allocations: 42.37 MB / 1.239 GB, free: 81.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.799e-05/4.395, allocations: 7.484 kB / 1.239 GB, free: 81.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01442/4.409, allocations: 2.153 MB / 1.242 GB, free: 81.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000138/4.409, allocations: 29.78 kB / 1.242 GB, free: 81.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002646/4.412, allocations: 125.3 kB / 1.242 GB, free: 81.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.226e-05/4.412, allocations: 37.28 kB / 1.242 GB, free: 81.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/4.412, allocations: 3.938 kB / 1.242 GB, free: 81.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05133/4.463, allocations: 33.61 MB / 1.275 GB, free: 73.89 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008079/4.472, allocations: 2.715 MB / 1.277 GB, free: 72.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00376/4.475, allocations: 121.5 kB / 1.277 GB, free: 72.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009436/4.485, allocations: 0.7568 MB / 1.278 GB, free: 72.67 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002468/4.487, allocations: 391.4 kB / 1.278 GB, free: 72.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001815/4.489, allocations: 183.8 kB / 1.279 GB, free: 72.57 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01108/4.5, allocations: 4.795 MB / 1.283 GB, free: 70.87 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.21e-07/4.5, allocations: 3.812 kB / 1.283 GB, free: 70.87 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01801/4.518, allocations: 3.172 MB / 1.286 GB, free: 70.56 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.003006/4.521, allocations: 414.7 kB / 1.287 GB, free: 70.38 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03638/4.558, allocations: 22.92 MB / 1.309 GB, free: 61.42 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/4.558, allocations: 6.781 kB / 1.309 GB, free: 61.42 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01592/4.574, allocations: 9.721 MB / 1.319 GB, free: 57.14 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009649/4.583, allocations: 0.8537 MB / 1.319 GB, free: 56.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06718/4.651, allocations: 28.8 MB / 1.348 GB, free: 30.84 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01822/4.669, allocations: 8.274 MB / 1.356 GB, free: 24.8 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.02115/4.69, allocations: 5.076 MB / 1.361 GB, free: 21.6 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008264/4.698, allocations: 0.6014 MB / 1.361 GB, free: 21.02 MB / 490.8 MB Notification: Performance of SimCode: time 1.954e-06/4.698, allocations: 0 / 1.361 GB, free: 21.02 MB / 490.8 MB Notification: Performance of Templates: time 0.5601/5.259, allocations: 122.6 MB / 1.481 GB, free: 59.07 MB / 490.8 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/jenkins/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