Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 179.1 kB / 8.476 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.2 MB / 214.1 MB, free: 5.113 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.0008992/0.0008992, allocations: 94.23 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.923e-06, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06683/0.06685, allocations: 47.56 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.2978, allocations: 96.86 MB / 459.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.2981, allocations: 91.08 kB / 459.5 MB, free: 7.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2268/0.5249, allocations: 91.71 MB / 0.5383 GB, free: 7.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001994/0.5251, allocations: 95.98 kB / 0.5384 GB, free: 7.445 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.0121/0.5372, allocations: 4.437 MB / 0.5427 GB, free: 2.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5373, allocations: 12.02 kB / 0.5427 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02533/0.5626, allocations: 6.365 MB / 0.5489 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/0.58, allocations: 6.243 MB / 0.555 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.5802, allocations: 140 kB / 0.5552 GB, free: 6.098 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.5819, allocations: 263.8 kB / 0.5554 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1402/0.7221, allocations: 6.42 MB / 0.5617 GB, free: 122.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.7413, allocations: 9.653 MB / 0.5711 GB, free: 119.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00029/0.7416, allocations: 66.89 kB / 0.5712 GB, free: 119.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/0.743, allocations: 26.41 kB / 0.5712 GB, free: 119.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001214/0.7443, allocations: 1.089 MB / 0.5723 GB, free: 119.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03949/0.7838, allocations: 45.36 MB / 0.6166 GB, free: 93.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.7871, allocations: 3.325 MB / 0.6198 GB, free: 93.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.7891, allocations: 2.251 MB / 0.622 GB, free: 92.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008524/0.7977, allocations: 7.02 MB / 0.6289 GB, free: 88.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.7977, allocations: 50.41 kB / 0.6289 GB, free: 88.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=169): time 4.689e-06/0.7977, allocations: 6.969 kB / 0.6289 GB, free: 88.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=208): time 0.0376/0.8354, allocations: 19.45 MB / 0.6479 GB, free: 80.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.8354, allocations: 252.2 kB / 0.6482 GB, free: 80.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0041/0.8396, allocations: 3.309 MB / 0.6514 GB, free: 79.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.8398, allocations: 29.33 kB / 0.6514 GB, free: 79.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.841, allocations: 3.009 MB / 0.6544 GB, free: 76.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006043/0.8416, allocations: 0.7678 MB / 0.6551 GB, free: 76.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.8418, allocations: 0 / 0.6551 GB, free: 76.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.8421, allocations: 0.5626 MB / 0.6557 GB, free: 75.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/0.8446, allocations: 2.231 MB / 0.6578 GB, free: 75.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/0.8482, allocations: 5.91 MB / 0.6636 GB, free: 69.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.8522, allocations: 3.618 MB / 0.6671 GB, free: 68.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.43e-05/0.8522, allocations: 40 kB / 0.6672 GB, free: 68.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01437/0.8666, allocations: 8.825 MB / 0.6758 GB, free: 60.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8667, allocations: 8 kB / 0.6758 GB, free: 60.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.705e-05/0.8668, allocations: 128 kB / 0.6759 GB, free: 60.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005315/0.8721, allocations: 1.928 MB / 0.6778 GB, free: 59.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/0.8762, allocations: 1.339 MB / 0.6791 GB, free: 57.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/0.8917, allocations: 13.5 MB / 0.6923 GB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/0.8965, allocations: 196.4 kB / 0.6925 GB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009904/0.8975, allocations: 382.5 kB / 0.6928 GB, free: 45.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (722): * Single equations (assignments): 716 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(4,87.5%) 10} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.0008202/0.8983, allocations: 433.2 kB / 0.6933 GB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/0.8989, allocations: 359.3 kB / 0.6936 GB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006863/0.9058, allocations: 4.117 MB / 0.6976 GB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/0.9058, allocations: 16 kB / 0.6976 GB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.9059, allocations: 12 kB / 0.6976 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.9059, allocations: 7.781 kB / 0.6977 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.9201, allocations: 8.866 MB / 0.7063 GB, free: 33.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.9202, allocations: 4 kB / 0.7063 GB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.9217, allocations: 289.5 kB / 0.7066 GB, free: 33.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003459/0.9252, allocations: 1.153 MB / 0.7077 GB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/0.9255, allocations: 13.39 kB / 0.7077 GB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008502/0.934, allocations: 6.789 MB / 0.7144 GB, free: 26.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.934, allocations: 4 kB / 0.7144 GB, free: 26.32 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009206/0.9432, allocations: 7.18 MB / 0.7214 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/0.9449, allocations: 0.6954 MB / 0.7221 GB, free: 18.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005636/0.9454, allocations: 0 / 0.7221 GB, free: 18.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.947, allocations: 63.91 kB / 0.7221 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.9472, allocations: 93.11 kB / 0.7222 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.9474, allocations: 55.98 kB / 0.7223 GB, free: 18.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003214/0.9506, allocations: 2.253 MB / 0.7245 GB, free: 15.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004829/0.9554, allocations: 0.9673 MB / 0.7254 GB, free: 14.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 151 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003864/0.9558, allocations: 147.9 kB / 0.7255 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007824/0.9637, allocations: 5.891 MB / 0.7313 GB, free: 8.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9637, allocations: 4 kB / 0.7313 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00326/0.967, allocations: 2.06 MB / 0.7333 GB, free: 6.832 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.9697, allocations: 431.5 kB / 0.7337 GB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1444/1.114, allocations: 8.725 MB / 0.7422 GB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007673/1.122, allocations: 3.887 MB / 0.746 GB, free: 107.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/1.122, allocations: 0 / 0.746 GB, free: 107.6 MB / 410.7 MB Notification: Performance of Templates: time 0.07613/1.198, allocations: 45.98 MB / 0.7909 GB, free: 104.5 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches