Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001338/0.001338, allocations: 194.5 kB / 8.532 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 88.86 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.796e-06, allocations: 0 / 343.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 51.48 MB / 394.6 MB, free: 5.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.399, allocations: 98.41 MB / 493 MB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.3992, allocations: 89.25 kB / 493.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2525/0.6517, allocations: 92.86 MB / 0.5723 GB, free: 3.062 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000425/0.6522, allocations: 84 kB / 0.5723 GB, free: 2.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.1948/0.847, allocations: 4.396 MB / 0.5766 GB, free: 125.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.8471, allocations: 7.625 kB / 0.5766 GB, free: 125.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02441/0.8715, allocations: 6.331 MB / 0.5828 GB, free: 125 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.8842, allocations: 5.211 MB / 0.5879 GB, free: 124.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.8845, allocations: 137.5 kB / 0.588 GB, free: 124.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002608/0.8871, allocations: 250.8 kB / 0.5883 GB, free: 124.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01193/0.899, allocations: 6.191 MB / 0.5943 GB, free: 124.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.9148, allocations: 9.378 MB / 0.6035 GB, free: 122.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.9151, allocations: 67.22 kB / 0.6035 GB, free: 122.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006178/0.9157, allocations: 26 kB / 0.6036 GB, free: 122.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001102/0.9168, allocations: 1.049 MB / 0.6046 GB, free: 122.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0443/0.9611, allocations: 44.47 MB / 0.648 GB, free: 93.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/0.9647, allocations: 3.265 MB / 0.6512 GB, free: 91.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.9668, allocations: 2.217 MB / 0.6534 GB, free: 90.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.977, allocations: 6.851 MB / 0.6601 GB, free: 86.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.495e-05/0.9772, allocations: 53.08 kB / 0.6601 GB, free: 86.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=160): time 5.009e-06/0.9772, allocations: 0 / 0.6601 GB, free: 86.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=199): time 0.03928/1.016, allocations: 18.98 MB / 0.6786 GB, free: 78.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/1.017, allocations: 252.8 kB / 0.6789 GB, free: 78.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/1.022, allocations: 3.232 MB / 0.682 GB, free: 77.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004273/1.022, allocations: 27.3 kB / 0.6821 GB, free: 77.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.023, allocations: 2.92 MB / 0.6849 GB, free: 75.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008206/1.024, allocations: 0.737 MB / 0.6856 GB, free: 74.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/1.025, allocations: 0 / 0.6856 GB, free: 74.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002588/1.025, allocations: 0.5594 MB / 0.6862 GB, free: 74.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/1.027, allocations: 2.17 MB / 0.6883 GB, free: 73.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004025/1.031, allocations: 5.748 MB / 0.6939 GB, free: 67.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/1.036, allocations: 3.524 MB / 0.6974 GB, free: 66.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.036, allocations: 39.34 kB / 0.6974 GB, free: 66.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01667/1.053, allocations: 8.619 MB / 0.7058 GB, free: 59.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.053, allocations: 8 kB / 0.7058 GB, free: 59.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/1.053, allocations: 128 kB / 0.7059 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0057/1.059, allocations: 1.906 MB / 0.7078 GB, free: 57.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0046/1.063, allocations: 1.285 MB / 0.7091 GB, free: 56.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/1.08, allocations: 13.64 MB / 0.7224 GB, free: 44.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004927/1.085, allocations: 188.5 kB / 0.7226 GB, free: 44.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.086, allocations: 373.1 kB / 0.7229 GB, free: 43.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (697): * Single equations (assignments): 691 * 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 {(5,72.0%) 33,(3,88.9%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.001161/1.087, allocations: 421.2 kB / 0.7233 GB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007898/1.088, allocations: 351.4 kB / 0.7237 GB, free: 42.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007159/1.095, allocations: 4.007 MB / 0.7276 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/1.095, allocations: 20 kB / 0.7276 GB, free: 39.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.095, allocations: 8 kB / 0.7276 GB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/1.095, allocations: 6.844 kB / 0.7276 GB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/1.111, allocations: 8.633 MB / 0.736 GB, free: 32.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/1.111, allocations: 0 / 0.736 GB, free: 32.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/1.112, allocations: 264.6 kB / 0.7363 GB, free: 32.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/1.116, allocations: 1.163 MB / 0.7374 GB, free: 31.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/1.116, allocations: 8 kB / 0.7374 GB, free: 31.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008357/1.124, allocations: 6.787 MB / 0.7441 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.124, allocations: 3.938 kB / 0.7441 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009175/1.134, allocations: 7.011 MB / 0.7509 GB, free: 19.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009782/1.135, allocations: 394.3 kB / 0.7513 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005165/1.135, allocations: 4 kB / 0.7513 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.137, allocations: 56.53 kB / 0.7513 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/1.137, allocations: 86.86 kB / 0.7514 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.137, allocations: 54.91 kB / 0.7515 GB, free: 18.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.003045/1.14, allocations: 2.195 MB / 0.7536 GB, free: 16.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004842/1.145, allocations: 0.9488 MB / 0.7545 GB, free: 16.05 MB / 442.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 (145): * Single equations (assignments): 141 * 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.0004514/1.145, allocations: 149.6 kB / 0.7547 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008424/1.154, allocations: 5.731 MB / 0.7603 GB, free: 10.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.154, allocations: 0 / 0.7603 GB, free: 10.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003283/1.157, allocations: 2.004 MB / 0.7622 GB, free: 8.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/1.16, allocations: 460.1 kB / 0.7627 GB, free: 8.547 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.176, allocations: 8.455 MB / 0.7709 GB, free: 292 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1492/1.325, allocations: 3.786 MB / 0.7746 GB, free: 110.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/1.325, allocations: 0 / 0.7746 GB, free: 110.5 MB / 442.7 MB Notification: Performance of Templates: time 0.06923/1.394, allocations: 45.07 MB / 0.8186 GB, free: 108.7 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches