Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 178.4 kB / 8.697 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.8/1.8, allocations: 205.3 MB / 214.4 MB, free: 1.672 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.0009679/0.0009681, allocations: 90.7 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.586e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 47.58 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5366, allocations: 102.4 MB / 465.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.5368, allocations: 90.06 kB / 465.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5617/1.099, allocations: 137.1 MB / 0.5886 GB, free: 87.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.896e-06/1.099, allocations: 0 / 0.5886 GB, free: 87.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005315/1.099, allocations: 146.8 kB / 0.5887 GB, free: 87.91 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: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.02426/1.123, allocations: 7.49 MB / 0.596 GB, free: 83.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.124, allocations: 7.188 kB / 0.596 GB, free: 83.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0434/1.167, allocations: 11.74 MB / 0.6075 GB, free: 76.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02467/1.192, allocations: 10.52 MB / 0.6178 GB, free: 65.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/1.192, allocations: 224 kB / 0.618 GB, free: 65.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003414/1.195, allocations: 427.8 kB / 0.6184 GB, free: 65.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01797/1.213, allocations: 9.852 MB / 0.628 GB, free: 55.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03026/1.244, allocations: 14.62 MB / 0.6423 GB, free: 39.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000367/1.244, allocations: 111.1 kB / 0.6424 GB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001406/1.246, allocations: 40 kB / 0.6424 GB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00172/1.247, allocations: 1.452 MB / 0.6438 GB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3308/1.578, allocations: 71.43 MB / 0.7136 GB, free: 56.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009503/1.588, allocations: 6.017 MB / 0.7195 GB, free: 55.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006017/1.594, allocations: 4.617 MB / 0.724 GB, free: 55.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009969/1.595, allocations: 0.8722 MB / 0.7248 GB, free: 54.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/1.595, allocations: 65.66 kB / 0.7249 GB, free: 54.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=292): time 6.592e-06/1.595, allocations: 0 / 0.7249 GB, free: 54.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=385): time 0.1169/1.712, allocations: 53.42 MB / 0.7771 GB, free: 41.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.712, allocations: 378.2 kB / 0.7774 GB, free: 40.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008999/1.721, allocations: 4.862 MB / 0.7822 GB, free: 36.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001202/1.722, allocations: 25.7 kB / 0.7822 GB, free: 36.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003603/1.726, allocations: 4.915 MB / 0.787 GB, free: 32.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002435/1.728, allocations: 1.358 MB / 0.7883 GB, free: 30.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/1.73, allocations: 3.031 kB / 0.7883 GB, free: 30.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005648/1.73, allocations: 0.6907 MB / 0.789 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006548/1.737, allocations: 5.327 MB / 0.7942 GB, free: 25.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/1.747, allocations: 10.37 MB / 0.8043 GB, free: 13.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.757, allocations: 7.299 MB / 0.8115 GB, free: 7.352 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/1.757, allocations: 48 kB / 0.8115 GB, free: 7.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.04547/1.803, allocations: 20.32 MB / 0.8313 GB, free: 7.051 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/1.803, allocations: 80 kB / 0.8314 GB, free: 6.973 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002968/1.803, allocations: 176 kB / 0.8316 GB, free: 6.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02079/1.824, allocations: 6.521 MB / 0.838 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008425/1.833, allocations: 2.098 MB / 0.84 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04264/1.875, allocations: 30.49 MB / 0.8698 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009838/1.885, allocations: 0.5262 MB / 0.8703 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002555/1.888, allocations: 0.525 MB / 0.8708 GB, free: 248 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1053): * Single equations (assignments): 1046 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,77.8%) 69,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.2857/2.173, allocations: 0.5453 MB / 0.8713 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002375/2.176, allocations: 0.5585 MB / 0.8719 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03575/2.212, allocations: 15.2 MB / 0.8867 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001526/2.212, allocations: 52.36 kB / 0.8868 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.092e-05/2.212, allocations: 19.91 kB / 0.8868 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001278/2.212, allocations: 16.59 kB / 0.8868 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05602/2.268, allocations: 29.42 MB / 0.9155 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-05/2.268, allocations: 6.844 kB / 0.9155 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003016/2.271, allocations: 0.5906 MB / 0.9161 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01754/2.289, allocations: 6.108 MB / 0.9221 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001081/2.29, allocations: 7 kB / 0.9221 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03405/2.324, allocations: 28.59 MB / 0.95 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/2.324, allocations: 7.562 kB / 0.95 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0345/2.359, allocations: 22.92 MB / 0.9724 GB, free: 88.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004297/2.363, allocations: 1.554 MB / 0.9739 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001716/2.365, allocations: 4 kB / 0.9739 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00435/2.369, allocations: 353.1 kB / 0.9743 GB, free: 87.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009004/2.37, allocations: 255.8 kB / 0.9745 GB, free: 86.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000348/2.37, allocations: 97.28 kB / 0.9746 GB, free: 86.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00491/2.375, allocations: 3.328 MB / 0.9778 GB, free: 83.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/2.375, allocations: 0 / 0.9778 GB, free: 83.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009305/2.385, allocations: 1.933 MB / 0.9797 GB, free: 81.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 247 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/2.386, allocations: 221.5 kB / 0.9799 GB, free: 81.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01752/2.403, allocations: 13.41 MB / 0.993 GB, free: 68.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.403, allocations: 6.344 kB / 0.993 GB, free: 68.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008968/2.412, allocations: 6.188 MB / 0.9991 GB, free: 62.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/2.417, allocations: 0.7191 MB / 0.9998 GB, free: 61.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/2.444, allocations: 16.63 MB / 1.016 GB, free: 44.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005864/2.45, allocations: 5.442 MB / 1.021 GB, free: 39.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007377/2.457, allocations: 3.109 MB / 1.024 GB, free: 36.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/2.459, allocations: 375.4 kB / 1.025 GB, free: 35.84 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/2.459, allocations: 0 / 1.025 GB, free: 35.84 MB / 474.7 MB Notification: Performance of Templates: time 0.4111/2.87, allocations: 92.4 MB / 1.115 GB, free: 95.19 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches