Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 230.3 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.0009127, allocations: 88.84 kB / 281.2 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.99e-05, allocations: 0 / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4353/0.5555, allocations: 108.8 MB / 496.3 MB, free: 2.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5558, allocations: 87.95 kB / 496.3 MB, free: 1.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336/1.892, allocations: 232.3 MB / 0.7116 GB, free: 34.16 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.765e-06/1.892, allocations: 3.562 kB / 0.7116 GB, free: 34.16 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0008523/1.893, allocations: 232.3 kB / 0.7118 GB, free: 34.16 MB / 426.8 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.04967/1.943, allocations: 12.28 MB / 0.7238 GB, free: 30.63 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.943, allocations: 9.969 kB / 0.7238 GB, free: 30.63 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02535/1.968, allocations: 3.988 MB / 0.7277 GB, free: 29.88 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03427/2.002, allocations: 11.75 MB / 0.7392 GB, free: 28.68 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007746/2.003, allocations: 390.1 kB / 0.7396 GB, free: 28.68 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007242/2.011, allocations: 0.7011 MB / 0.7402 GB, free: 28.66 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04501/2.056, allocations: 21.49 MB / 0.7612 GB, free: 28.6 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06253/2.118, allocations: 26.44 MB / 0.787 GB, free: 22.4 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005765/2.119, allocations: 99.84 kB / 0.7871 GB, free: 22.39 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005767/2.125, allocations: 56.16 kB / 0.7872 GB, free: 22.39 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003356/2.128, allocations: 2.584 MB / 0.7897 GB, free: 21.91 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.489/2.617, allocations: 117 MB / 0.9039 GB, free: 24.86 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/2.631, allocations: 10.5 MB / 0.9142 GB, free: 24.19 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/2.641, allocations: 8.509 MB / 0.9225 GB, free: 24.14 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04954/2.691, allocations: 30.84 MB / 0.9526 GB, free: 16.12 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/2.691, allocations: 93.14 kB / 0.9527 GB, free: 16.07 MB / 474.8 MB Notification: Performance of pre-optimization done (n=483): time 1.122e-05/2.691, allocations: 0 / 0.9527 GB, free: 16.07 MB / 474.8 MB Notification: Performance of matching and sorting (n=708): time 0.3424/3.033, allocations: 116.7 MB / 1.067 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/3.034, allocations: 201.6 kB / 1.067 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3176/3.351, allocations: 6.076 MB / 1.073 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002556/3.354, allocations: 26.95 kB / 1.073 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005305/3.359, allocations: 7.207 MB / 1.08 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003836/3.363, allocations: 2.429 MB / 1.082 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/3.365, allocations: 0 / 1.082 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008456/3.366, allocations: 0.9169 MB / 1.083 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01493/3.381, allocations: 9.703 MB / 1.093 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01898/3.4, allocations: 16.56 MB / 1.109 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0214/3.421, allocations: 12.91 MB / 1.121 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003049/3.421, allocations: 70.16 kB / 1.121 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1890) (initialization): time 0.0484/3.47, allocations: 25.83 MB / 1.147 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/3.47, allocations: 106.3 kB / 1.147 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003224/3.47, allocations: 237.7 kB / 1.147 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/3.471, allocations: 373.7 kB / 1.147 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02028/3.491, allocations: 4.297 MB / 1.152 GB, free: 98.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004852/3.492, allocations: 482.4 kB / 1.152 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01653/3.508, allocations: 0.9538 MB / 1.153 GB, free: 98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004113/3.512, allocations: 0.7727 MB / 1.154 GB, free: 97.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1089 * 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 (1860): * Single equations (assignments): 1854 * 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.003875/3.516, allocations: 0.7682 MB / 1.154 GB, free: 97.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002263/3.518, allocations: 0.7473 MB / 1.155 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02803/3.547, allocations: 18.51 MB / 1.173 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001227/3.547, allocations: 75.27 kB / 1.173 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/3.547, allocations: 0.875 kB / 1.173 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000188/3.547, allocations: 33.94 kB / 1.173 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07356/3.621, allocations: 38.46 MB / 1.211 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/3.621, allocations: 0 / 1.211 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01403/3.635, allocations: 2.124 MB / 1.213 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/3.635, allocations: 24 kB / 1.213 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002342/3.637, allocations: 15.19 kB / 1.213 GB, free: 61.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.687e-05/3.637, allocations: 30.12 kB / 1.213 GB, free: 61.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/3.637, allocations: 0 / 1.213 GB, free: 61.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3584/3.996, allocations: 33.02 MB / 1.245 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007717/4.003, allocations: 2.628 MB / 1.248 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003361/4.007, allocations: 8.734 kB / 1.248 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009259/4.016, allocations: 0.6479 MB / 1.249 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0023/4.018, allocations: 367.7 kB / 1.249 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001277/4.02, allocations: 172.7 kB / 1.249 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01054/4.03, allocations: 4.034 MB / 1.253 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.41e-07/4.03, allocations: 0 / 1.253 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02267/4.053, allocations: 2.747 MB / 1.256 GB, free: 105.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (692): * Single equations (assignments): 689 * 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.00312/4.056, allocations: 300.5 kB / 1.256 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03592/4.092, allocations: 22.06 MB / 1.277 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/4.092, allocations: 3.75 kB / 1.277 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01632/4.109, allocations: 9.521 MB / 1.287 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007754/4.116, allocations: 0.6293 MB / 1.287 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06245/4.179, allocations: 28.1 MB / 1.315 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01763/4.196, allocations: 8.233 MB / 1.323 GB, free: 96.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02039/4.217, allocations: 5.145 MB / 1.328 GB, free: 96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007209/4.224, allocations: 0.5723 MB / 1.328 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/4.224, allocations: 0 / 1.328 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.5282/4.752, allocations: 108.2 MB / 1.434 GB, free: 94.4 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic/PlanarLoops_analytic.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches