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.001028/0.001028, allocations: 180.8 kB / 17.02 MB, free: 5.121 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.382/1.382, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008728/0.0008733, allocations: 100.1 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.259, allocations: 47.55 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.3913, allocations: 107.8 MB / 483.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.3917, allocations: 99.95 kB / 483.7 MB, free: 4.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009/1.401, allocations: 235.1 MB / 0.7019 GB, free: 39.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.736e-06/1.401, allocations: 0 / 0.7019 GB, free: 39.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000907/1.402, allocations: 236.1 kB / 0.7021 GB, free: 39.01 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.04834/1.45, allocations: 13.02 MB / 0.7148 GB, free: 34.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.45, allocations: 7.031 kB / 0.7148 GB, free: 34.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02323/1.473, allocations: 3.991 MB / 0.7187 GB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03637/1.51, allocations: 12.25 MB / 0.7307 GB, free: 32.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/1.511, allocations: 0.8881 MB / 0.7316 GB, free: 32.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006951/1.518, allocations: 1.183 MB / 0.7327 GB, free: 32.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09502/1.613, allocations: 33.82 MB / 0.7658 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001184/1.614, allocations: 100.2 kB / 0.7658 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007175/1.621, allocations: 0.5334 MB / 0.7664 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003948/1.625, allocations: 2.591 MB / 0.7689 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07417/1.699, allocations: 31.06 MB / 0.7992 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4868/2.186, allocations: 120.4 MB / 0.9169 GB, free: 32.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0496/2.236, allocations: 17.35 MB / 0.9338 GB, free: 28.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05206/2.288, allocations: 31.1 MB / 0.9642 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.083e-05/2.288, allocations: 86.69 kB / 0.9642 GB, free: 10.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=489): time 1.543e-05/2.288, allocations: 2.438 kB / 0.9642 GB, free: 10.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=726): time 0.9099/3.198, allocations: 172.1 MB / 1.132 GB, free: 36.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/3.198, allocations: 201.8 kB / 1.133 GB, free: 36.52 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01783/3.216, allocations: 7.042 MB / 1.139 GB, free: 29.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002502/3.219, allocations: 137.7 kB / 1.14 GB, free: 29.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004884/3.224, allocations: 7.095 MB / 1.146 GB, free: 22.56 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004024/3.228, allocations: 2.577 MB / 1.149 GB, free: 20 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003023/3.231, allocations: 292 kB / 1.149 GB, free: 19.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001366/3.232, allocations: 0.9059 MB / 1.15 GB, free: 18.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3133/3.545, allocations: 10.3 MB / 1.16 GB, free: 93.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02191/3.567, allocations: 16.93 MB / 1.177 GB, free: 84.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02435/3.592, allocations: 13.02 MB / 1.189 GB, free: 84.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005212/3.592, allocations: 67.44 kB / 1.189 GB, free: 84.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.05782/3.65, allocations: 27.7 MB / 1.217 GB, free: 76.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004998/3.651, allocations: 103.3 kB / 1.217 GB, free: 76.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006896/3.651, allocations: 227.6 kB / 1.217 GB, free: 76.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/3.652, allocations: 351.1 kB / 1.217 GB, free: 76.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0205/3.672, allocations: 4.265 MB / 1.221 GB, free: 76.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007008/3.673, allocations: 467.3 kB / 1.222 GB, free: 76.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01527/3.688, allocations: 1.227 MB / 1.223 GB, free: 76.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003543/3.692, allocations: 0.7475 MB / 1.224 GB, free: 75.96 MB / 474.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.01702/3.709, allocations: 5.464 MB / 1.229 GB, free: 73.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004595/3.714, allocations: 0.8008 MB / 1.23 GB, free: 73.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03646/3.75, allocations: 19.61 MB / 1.249 GB, free: 64.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.044e-05/3.75, allocations: 72.27 kB / 1.249 GB, free: 64.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.377e-05/3.75, allocations: 3.625 kB / 1.249 GB, free: 64.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001784/3.751, allocations: 35.8 kB / 1.249 GB, free: 64.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08651/3.837, allocations: 42.54 MB / 1.291 GB, free: 29.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-05/3.837, allocations: 4 kB / 1.291 GB, free: 29.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.014/3.851, allocations: 2.154 MB / 1.293 GB, free: 28.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/3.851, allocations: 32 kB / 1.293 GB, free: 28.06 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002296/3.854, allocations: 129.4 kB / 1.293 GB, free: 27.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.559e-05/3.854, allocations: 28 kB / 1.293 GB, free: 27.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/3.854, allocations: 11.94 kB / 1.293 GB, free: 27.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3297/4.183, allocations: 34.84 MB / 1.327 GB, free: 81.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009184/4.193, allocations: 2.715 MB / 1.33 GB, free: 81.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0036/4.196, allocations: 119.7 kB / 1.33 GB, free: 81.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009398/4.206, allocations: 0.7607 MB / 1.33 GB, free: 81.53 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001877/4.208, allocations: 388.4 kB / 1.331 GB, free: 81.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008015/4.209, allocations: 183.8 kB / 1.331 GB, free: 81.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009175/4.218, allocations: 4.908 MB / 1.336 GB, free: 81.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/4.218, allocations: 0 / 1.336 GB, free: 81.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01621/4.234, allocations: 3.175 MB / 1.339 GB, free: 81.27 MB / 474.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.003007/4.237, allocations: 415.5 kB / 1.339 GB, free: 81.19 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03784/4.275, allocations: 23.25 MB / 1.362 GB, free: 81.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/4.275, allocations: 3.812 kB / 1.362 GB, free: 81.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01477/4.29, allocations: 9.825 MB / 1.372 GB, free: 80.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007555/4.297, allocations: 0.8658 MB / 1.372 GB, free: 79.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07279/4.37, allocations: 37.83 MB / 1.409 GB, free: 61.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01764/4.388, allocations: 8.276 MB / 1.417 GB, free: 58.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01946/4.407, allocations: 5.069 MB / 1.422 GB, free: 58.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007372/4.415, allocations: 0.6034 MB / 1.423 GB, free: 58.57 MB / 474.7 MB Notification: Performance of SimCode: time 1.472e-06/4.415, allocations: 3.188 kB / 1.423 GB, free: 58.57 MB / 474.7 MB Notification: Performance of Templates: time 0.45/4.865, allocations: 122.5 MB / 1.543 GB, free: 88.59 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/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