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.001128/0.001127, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.443/1.443, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008666/0.0008666, allocations: 92.11 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.00025, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2386, allocations: 47.56 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.3605, allocations: 102.9 MB / 478.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.3608, allocations: 99.94 kB / 478.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5386/0.8995, allocations: 140.1 MB / 0.6044 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.8995, allocations: 3.938 kB / 0.6044 GB, free: 11.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007359/0.9003, allocations: 148 kB / 0.6046 GB, free: 11.26 MB / 378.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.02952/0.9298, allocations: 8.257 MB / 0.6126 GB, free: 2.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.9299, allocations: 8.031 kB / 0.6126 GB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04551/0.9754, allocations: 11.72 MB / 0.6241 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03009/1.006, allocations: 10.59 MB / 0.6344 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007896/1.006, allocations: 0.5176 MB / 0.6349 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004416/1.011, allocations: 0.7027 MB / 0.6356 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4949/1.506, allocations: 17.38 MB / 0.6526 GB, free: 57.89 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005689/1.506, allocations: 94.2 kB / 0.6527 GB, free: 57.89 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003175/1.51, allocations: 333.2 kB / 0.653 GB, free: 57.89 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/1.512, allocations: 1.462 MB / 0.6544 GB, free: 57.88 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03213/1.544, allocations: 14.49 MB / 0.6686 GB, free: 57.82 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09221/1.636, allocations: 73.3 MB / 0.7402 GB, free: 12.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02232/1.659, allocations: 8.763 MB / 0.7487 GB, free: 9.91 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02729/1.686, allocations: 17.75 MB / 0.7661 GB, free: 1.707 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/1.686, allocations: 62.75 kB / 0.7661 GB, free: 1.652 MB / 410.8 MB Notification: Performance of pre-optimization done (n=281): time 7.625e-06/1.686, allocations: 3.75 kB / 0.7661 GB, free: 1.652 MB / 410.8 MB Notification: Performance of matching and sorting (n=374): time 0.4861/2.172, allocations: 70.45 MB / 0.8349 GB, free: 89.45 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/2.172, allocations: 374 kB / 0.8353 GB, free: 89.04 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/2.184, allocations: 5.546 MB / 0.8407 GB, free: 88.58 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001257/2.185, allocations: 82.5 kB / 0.8408 GB, free: 88.55 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003847/2.189, allocations: 4.889 MB / 0.8456 GB, free: 86.23 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002086/2.191, allocations: 1.373 MB / 0.8469 GB, free: 85.43 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006218/2.192, allocations: 176.5 kB / 0.8471 GB, free: 85.43 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0004383/2.192, allocations: 0.6788 MB / 0.8477 GB, free: 85.1 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006814/2.199, allocations: 5.496 MB / 0.8531 GB, free: 85.08 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009835/2.209, allocations: 10.46 MB / 0.8633 GB, free: 77.91 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009732/2.219, allocations: 7.404 MB / 0.8705 GB, free: 75.06 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/2.219, allocations: 53.42 kB / 0.8706 GB, free: 75.05 MB / 442.8 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.04303/2.262, allocations: 21.37 MB / 0.8915 GB, free: 68.08 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002872/2.262, allocations: 83.5 kB / 0.8915 GB, free: 68 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003849/2.263, allocations: 176 kB / 0.8917 GB, free: 67.83 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01942/2.282, allocations: 6.525 MB / 0.8981 GB, free: 63.48 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008716/2.291, allocations: 2.047 MB / 0.9001 GB, free: 61.75 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04225/2.333, allocations: 33.56 MB / 0.9329 GB, free: 32.88 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009897/2.343, allocations: 0.696 MB / 0.9335 GB, free: 32.35 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00239/2.346, allocations: 0.514 MB / 0.934 GB, free: 31.85 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 787 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1023): * Single equations (assignments): 1016 * 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%) 67,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.00985/2.355, allocations: 3.439 MB / 0.9374 GB, free: 28.82 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002163/2.358, allocations: 0.5939 MB / 0.938 GB, free: 28.23 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0319/2.39, allocations: 15.48 MB / 0.9531 GB, free: 13.14 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-05/2.39, allocations: 44 kB / 0.9531 GB, free: 13.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.829e-05/2.39, allocations: 20 kB / 0.9531 GB, free: 13.08 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.265e-05/2.39, allocations: 23.92 kB / 0.9532 GB, free: 13.06 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2975/2.687, allocations: 30.49 MB / 0.9829 GB, free: 94.06 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.496e-05/2.687, allocations: 0 / 0.9829 GB, free: 94.06 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/2.69, allocations: 0.575 MB / 0.9835 GB, free: 94.06 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01835/2.709, allocations: 6.156 MB / 0.9895 GB, free: 94.03 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/2.71, allocations: 61.92 kB / 0.9896 GB, free: 94.03 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03846/2.748, allocations: 31.91 MB / 1.021 GB, free: 86.96 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.748, allocations: 10.61 kB / 1.021 GB, free: 86.96 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03503/2.783, allocations: 23.14 MB / 1.043 GB, free: 78.29 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005055/2.789, allocations: 1.582 MB / 1.045 GB, free: 77.79 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/2.79, allocations: 65 kB / 1.045 GB, free: 77.74 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003795/2.794, allocations: 404.8 kB / 1.045 GB, free: 77.7 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009485/2.795, allocations: 252 kB / 1.046 GB, free: 77.66 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003328/2.795, allocations: 94.05 kB / 1.046 GB, free: 77.64 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006216/2.801, allocations: 3.956 MB / 1.05 GB, free: 76.32 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.9e-07/2.801, allocations: 0 / 1.05 GB, free: 76.32 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01009/2.811, allocations: 2.173 MB / 1.052 GB, free: 75.25 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * 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.001196/2.813, allocations: 280.6 kB / 1.052 GB, free: 75.04 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01876/2.831, allocations: 13.91 MB / 1.066 GB, free: 63.3 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/2.832, allocations: 0 / 1.066 GB, free: 63.3 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009258/2.841, allocations: 6.361 MB / 1.072 GB, free: 57.79 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006346/2.847, allocations: 0.8443 MB / 1.073 GB, free: 57.1 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03956/2.887, allocations: 22.29 MB / 1.094 GB, free: 37.11 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007666/2.894, allocations: 5.44 MB / 1.1 GB, free: 33.11 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.007702/2.902, allocations: 3.038 MB / 1.103 GB, free: 31.14 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/2.904, allocations: 389.1 kB / 1.103 GB, free: 30.78 MB / 458.8 MB Notification: Performance of SimCode: time 8.61e-07/2.904, allocations: 0 / 1.103 GB, free: 30.78 MB / 458.8 MB Notification: Performance of Templates: time 0.4415/3.345, allocations: 99.22 MB / 1.2 GB, free: 76.31 MB / 458.8 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