Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002601/0.0026, allocations: 176.4 kB / 8.151 MB, free: 2.211 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.793/1.793, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001287/0.001286, allocations: 99.38 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.533e-05, allocations: 4 kB / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.268, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.4202, allocations: 96.87 MB / 458.7 MB, free: 5.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.4206, allocations: 79.95 kB / 458.8 MB, free: 5.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.5359/0.9565, allocations: 91.73 MB / 0.5376 GB, free: 95.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003934/0.957, allocations: 89.28 kB / 0.5377 GB, free: 95.11 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.02073/0.9777, allocations: 4.445 MB / 0.542 GB, free: 92.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.9778, allocations: 10.28 kB / 0.542 GB, free: 92.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05072/1.029, allocations: 6.361 MB / 0.5483 GB, free: 89.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03401/1.063, allocations: 6.254 MB / 0.5544 GB, free: 85.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004892/1.063, allocations: 136 kB / 0.5545 GB, free: 85.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/1.066, allocations: 267.6 kB / 0.5547 GB, free: 85.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02144/1.088, allocations: 6.427 MB / 0.561 GB, free: 79.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/1.114, allocations: 9.653 MB / 0.5705 GB, free: 68.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003411/1.114, allocations: 71.36 kB / 0.5705 GB, free: 68.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002107/1.116, allocations: 28 kB / 0.5705 GB, free: 68.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/1.118, allocations: 1.088 MB / 0.5716 GB, free: 67.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07679/1.195, allocations: 45.35 MB / 0.6159 GB, free: 21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008168/1.203, allocations: 3.314 MB / 0.6191 GB, free: 17.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005861/1.209, allocations: 2.255 MB / 0.6213 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02179/1.231, allocations: 7.015 MB / 0.6282 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/1.231, allocations: 51.56 kB / 0.6282 GB, free: 7.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=169): time 8.105e-06/1.231, allocations: 0 / 0.6282 GB, free: 7.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=208): time 0.08238/1.314, allocations: 19.47 MB / 0.6472 GB, free: 4.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.314, allocations: 252.6 kB / 0.6475 GB, free: 4.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008649/1.323, allocations: 3.312 MB / 0.6507 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005276/1.323, allocations: 29.7 kB / 0.6507 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1415/1.465, allocations: 2.922 MB / 0.6536 GB, free: 138.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.466, allocations: 0.771 MB / 0.6544 GB, free: 138.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000649/1.467, allocations: 0 / 0.6544 GB, free: 138.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003935/1.467, allocations: 0.573 MB / 0.6549 GB, free: 138.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005335/1.472, allocations: 2.226 MB / 0.6571 GB, free: 138.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00792/1.48, allocations: 5.899 MB / 0.6628 GB, free: 133.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008278/1.489, allocations: 3.616 MB / 0.6664 GB, free: 133.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.489, allocations: 37.66 kB / 0.6664 GB, free: 133.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0285/1.517, allocations: 8.71 MB / 0.6749 GB, free: 132.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.517, allocations: 10.66 kB / 0.6749 GB, free: 132.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/1.518, allocations: 131.6 kB / 0.6751 GB, free: 132.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/1.528, allocations: 1.841 MB / 0.6769 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008517/1.536, allocations: 1.34 MB / 0.6782 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03017/1.567, allocations: 13.96 MB / 0.6918 GB, free: 126 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006365/1.573, allocations: 195.6 kB / 0.692 GB, free: 126 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/1.574, allocations: 379 kB / 0.6923 GB, free: 125.9 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 {(2,100.0%) 36,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.001222/1.576, allocations: 359.5 kB / 0.6927 GB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009756/1.577, allocations: 359.8 kB / 0.693 GB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/1.591, allocations: 4.112 MB / 0.697 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/1.592, allocations: 19.06 kB / 0.6971 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/1.592, allocations: 9.094 kB / 0.6971 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.125e-05/1.592, allocations: 22.73 kB / 0.6971 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02854/1.62, allocations: 8.865 MB / 0.7058 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/1.62, allocations: 1.031 kB / 0.7058 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003189/1.623, allocations: 280.7 kB / 0.706 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007027/1.63, allocations: 1.159 MB / 0.7072 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004818/1.631, allocations: 11.61 kB / 0.7072 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/1.648, allocations: 6.788 MB / 0.7138 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.648, allocations: 7.938 kB / 0.7138 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01837/1.667, allocations: 7.175 MB / 0.7208 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002598/1.669, allocations: 0.6998 MB / 0.7215 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009647/1.67, allocations: 0 / 0.7215 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.673, allocations: 60.48 kB / 0.7215 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/1.674, allocations: 93.55 kB / 0.7216 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002442/1.674, allocations: 59.38 kB / 0.7217 GB, free: 110.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004793/1.679, allocations: 2.254 MB / 0.7239 GB, free: 108.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007412/1.686, allocations: 0.9626 MB / 0.7248 GB, free: 107.2 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.0006976/1.687, allocations: 147.6 kB / 0.725 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01281/1.7, allocations: 5.707 MB / 0.7305 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.7, allocations: 0 / 0.7305 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00606/1.706, allocations: 2.058 MB / 0.7326 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/1.71, allocations: 446.3 kB / 0.733 GB, free: 99.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/1.738, allocations: 9.232 MB / 0.742 GB, free: 91.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01075/1.749, allocations: 3.916 MB / 0.7458 GB, free: 88.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/1.749, allocations: 4 kB / 0.7458 GB, free: 88.45 MB / 410.7 MB Notification: Performance of Templates: time 0.3241/2.073, allocations: 100.5 MB / 0.8439 GB, free: 125 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches