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.001342/0.001342, allocations: 176 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 82.69 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.795e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4299/0.5363, allocations: 107.3 MB / 470.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.5366, allocations: 87.2 kB / 470.4 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7754/1.312, allocations: 229.8 MB / 0.6838 GB, free: 372 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.896e-06/1.312, allocations: 3.938 kB / 0.6838 GB, free: 368 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007133/1.313, allocations: 236 kB / 0.684 GB, free: 132 kB / 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.5169/1.83, allocations: 12.3 MB / 0.696 GB, free: 34.98 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.83, allocations: 7.344 kB / 0.696 GB, free: 34.98 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02518/1.855, allocations: 3.979 MB / 0.6999 GB, free: 34.23 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03511/1.89, allocations: 12.19 MB / 0.7118 GB, free: 33.04 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007817/1.891, allocations: 392.6 kB / 0.7122 GB, free: 33.04 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007369/1.898, allocations: 0.6974 MB / 0.7129 GB, free: 33.02 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0445/1.943, allocations: 21.49 MB / 0.7339 GB, free: 32.96 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06806/2.011, allocations: 26.43 MB / 0.7597 GB, free: 26.31 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007822/2.012, allocations: 105.2 kB / 0.7598 GB, free: 26.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006053/2.018, allocations: 58.28 kB / 0.7598 GB, free: 26.3 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003454/2.021, allocations: 2.579 MB / 0.7624 GB, free: 25.82 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4968/2.518, allocations: 117 MB / 0.8766 GB, free: 25.49 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/2.532, allocations: 10.49 MB / 0.8868 GB, free: 24.83 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01041/2.542, allocations: 8.506 MB / 0.8951 GB, free: 24.78 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0439/2.586, allocations: 30.88 MB / 0.9253 GB, free: 16.67 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.38e-05/2.586, allocations: 89.62 kB / 0.9254 GB, free: 16.59 MB / 458.8 MB Notification: Performance of pre-optimization done (n=483): time 9.498e-06/2.586, allocations: 0 / 0.9254 GB, free: 16.59 MB / 458.8 MB Notification: Performance of matching and sorting (n=708): time 0.3408/2.927, allocations: 116.9 MB / 1.039 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/2.927, allocations: 201.6 kB / 1.04 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/2.939, allocations: 6.107 MB / 1.046 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002573/2.942, allocations: 25.7 kB / 1.046 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3159/3.257, allocations: 7.204 MB / 1.053 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005812/3.263, allocations: 2.435 MB / 1.055 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004351/3.268, allocations: 4.406 kB / 1.055 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001771/3.27, allocations: 0.9119 MB / 1.056 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01844/3.288, allocations: 9.703 MB / 1.065 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02061/3.309, allocations: 16.56 MB / 1.082 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02272/3.331, allocations: 12.92 MB / 1.094 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003064/3.332, allocations: 68.28 kB / 1.094 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1890) (initialization): time 0.0504/3.382, allocations: 25.82 MB / 1.12 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/3.382, allocations: 111.8 kB / 1.12 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003712/3.383, allocations: 237.4 kB / 1.12 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000426/3.383, allocations: 366.1 kB / 1.12 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02031/3.404, allocations: 4.304 MB / 1.124 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003841/3.404, allocations: 488.4 kB / 1.125 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/3.419, allocations: 0.9469 MB / 1.126 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00408/3.423, allocations: 0.765 MB / 1.127 GB, free: 117.7 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.005182/3.428, allocations: 0.7757 MB / 1.127 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002181/3.431, allocations: 0.7537 MB / 1.128 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03123/3.462, allocations: 18.51 MB / 1.146 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/3.462, allocations: 70.86 kB / 1.146 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/3.462, allocations: 3.656 kB / 1.146 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001867/3.462, allocations: 40.72 kB / 1.146 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07048/3.533, allocations: 38.47 MB / 1.184 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/3.533, allocations: 0 / 1.184 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01352/3.546, allocations: 2.116 MB / 1.186 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/3.547, allocations: 27.94 kB / 1.186 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002201/3.549, allocations: 15.28 kB / 1.186 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.574e-05/3.549, allocations: 31.75 kB / 1.186 GB, free: 81.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/3.549, allocations: 0 / 1.186 GB, free: 81.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04187/3.591, allocations: 31.89 MB / 1.217 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007617/3.598, allocations: 2.634 MB / 1.22 GB, free: 49.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004916/3.603, allocations: 5.375 kB / 1.22 GB, free: 49.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01054/3.614, allocations: 0.6495 MB / 1.22 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0028/3.617, allocations: 365.1 kB / 1.221 GB, free: 49.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001523/3.618, allocations: 171.3 kB / 1.221 GB, free: 49.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008723/3.627, allocations: 4.065 MB / 1.225 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.22e-07/3.627, allocations: 0 / 1.225 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.411/4.038, allocations: 3.007 MB / 1.228 GB, free: 125.3 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.003823/4.042, allocations: 293.9 kB / 1.228 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04147/4.084, allocations: 22.06 MB / 1.25 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/4.084, allocations: 0 / 1.25 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01457/4.098, allocations: 9.52 MB / 1.259 GB, free: 125 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008232/4.107, allocations: 0.6395 MB / 1.259 GB, free: 125 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06943/4.176, allocations: 28.13 MB / 1.287 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01835/4.194, allocations: 8.246 MB / 1.295 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01978/4.214, allocations: 5.15 MB / 1.3 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007045/4.221, allocations: 0.5737 MB / 1.301 GB, free: 117 MB / 0.5105 GB Notification: Performance of SimCode: time 1.253e-06/4.221, allocations: 2.906 kB / 1.301 GB, free: 117 MB / 0.5105 GB Notification: Performance of Templates: time 0.474/4.695, allocations: 108.2 MB / 1.406 GB, free: 128.5 MB / 0.5105 GB 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