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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2723, allocations: 50.55 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.013/0.2854, allocations: 11.78 MB / 421 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009937/0.2954, allocations: 4.343 MB / 425.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.2983, allocations: 83.69 kB / 425.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005961/0.3043, allocations: 2.858 MB / 428.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006678/0.311, allocations: 1.988 MB / 430.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.3143, allocations: 1.037 MB / 431.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009291/0.3236, allocations: 5.596 MB / 436.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007194/0.3308, allocations: 3.977 MB / 440.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003954/0.3348, allocations: 1.702 MB / 442.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/0.3391, allocations: 2.294 MB / 444.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.3406, allocations: 364 kB / 445.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.3441, allocations: 1.233 MB / 446.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003372/0.3475, allocations: 2.092 MB / 448.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005213/0.3527, allocations: 2.346 MB / 450.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.3634, allocations: 7.554 MB / 458.5 MB, free: 148 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.3635, allocations: 8 kB / 458.5 MB, free: 140 kB / 366.1 MB Notification: Performance of FrontEnd: time 3.818e-06/0.3635, allocations: 0 / 458.5 MB, free: 140 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002891/0.3638, allocations: 0 / 458.5 MB, free: 140 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01229/0.3761, allocations: 5.177 MB / 463.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3762, allocations: 12.03 kB / 463.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02249/0.3987, allocations: 3.158 MB / 466.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007907/0.4066, allocations: 3.531 MB / 470.4 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.4069, allocations: 238.1 kB / 470.6 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/0.4082, allocations: 335.7 kB / 470.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.4239, allocations: 9.835 MB / 480.8 MB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.4241, allocations: 51.59 kB / 480.8 MB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003973/0.4245, allocations: 151.9 kB / 481 MB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002917/0.4274, allocations: 1.896 MB / 482.9 MB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.4419, allocations: 8.495 MB / 491.4 MB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0443/0.4862, allocations: 38.21 MB / 0.5172 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008604/0.4949, allocations: 3.939 MB / 0.521 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003207/0.4981, allocations: 2.189 MB / 0.5231 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/0.4989, allocations: 0.64 MB / 0.5238 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/0.499, allocations: 59.48 kB / 0.5238 GB, free: 28 kB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.238e-06/0.499, allocations: 0 / 0.5238 GB, free: 28 kB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.2987/0.7977, allocations: 22.54 MB / 0.5458 GB, free: 121.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.7978, allocations: 264 kB / 0.5461 GB, free: 121 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/0.8026, allocations: 4.155 MB / 0.5502 GB, free: 119.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002842/0.8029, allocations: 57.64 kB / 0.5502 GB, free: 119.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.8042, allocations: 3.068 MB / 0.5532 GB, free: 117 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.8047, allocations: 0.7771 MB / 0.554 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.806, allocations: 1.249 MB / 0.5552 GB, free: 115.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.8061, allocations: 302.2 kB / 0.5555 GB, free: 115.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0028/0.8089, allocations: 2.493 MB / 0.5579 GB, free: 114.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/0.8129, allocations: 5.977 MB / 0.5637 GB, free: 109.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007232/0.8202, allocations: 9.069 MB / 0.5726 GB, free: 100.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.898e-05/0.8203, allocations: 36 kB / 0.5726 GB, free: 100.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01592/0.8362, allocations: 10.55 MB / 0.5829 GB, free: 89.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.8363, allocations: 59.94 kB / 0.583 GB, free: 89.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.566e-05/0.8363, allocations: 124 kB / 0.5831 GB, free: 89.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006266/0.8426, allocations: 2.593 MB / 0.5856 GB, free: 86.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/0.8459, allocations: 1.306 MB / 0.5869 GB, free: 85.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/0.8646, allocations: 18.63 MB / 0.6051 GB, free: 66.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/0.8693, allocations: 367.4 kB / 0.6055 GB, free: 66.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007094/0.87, allocations: 359.2 kB / 0.6058 GB, free: 65.89 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (709): * Single equations (assignments): 703 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002668/0.8727, allocations: 2.146 MB / 0.6079 GB, free: 63.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006066/0.8733, allocations: 371.2 kB / 0.6082 GB, free: 63.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007856/0.8812, allocations: 5.022 MB / 0.6132 GB, free: 58.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/0.8813, allocations: 20 kB / 0.6132 GB, free: 58.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.8813, allocations: 12 kB / 0.6132 GB, free: 58.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.8813, allocations: 15.91 kB / 0.6132 GB, free: 58.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.8973, allocations: 10.71 MB / 0.6237 GB, free: 47.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.8973, allocations: 5.766 kB / 0.6237 GB, free: 47.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.8987, allocations: 283.6 kB / 0.6239 GB, free: 47.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004568/0.9033, allocations: 1.846 MB / 0.6257 GB, free: 45.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/0.9036, allocations: 28 kB / 0.6258 GB, free: 45.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.9148, allocations: 10.4 MB / 0.6359 GB, free: 34.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9148, allocations: 3.938 kB / 0.6359 GB, free: 34.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.9257, allocations: 8.158 MB / 0.6439 GB, free: 26.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.9268, allocations: 420.3 kB / 0.6443 GB, free: 26.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005781/0.9274, allocations: 32 kB / 0.6443 GB, free: 26.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.929, allocations: 143.7 kB / 0.6445 GB, free: 26.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.9294, allocations: 120.9 kB / 0.6446 GB, free: 25.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.9295, allocations: 55.98 kB / 0.6446 GB, free: 25.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00307/0.9326, allocations: 2.615 MB / 0.6472 GB, free: 23.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9326, allocations: 0 / 0.6472 GB, free: 23.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004847/0.9375, allocations: 1.159 MB / 0.6483 GB, free: 22.07 MB / 462.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 143 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004056/0.9379, allocations: 176.4 kB / 0.6485 GB, free: 21.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007894/0.9458, allocations: 6.504 MB / 0.6548 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.9459, allocations: 4.188 kB / 0.6548 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.9484, allocations: 2.155 MB / 0.6569 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.9512, allocations: 0.5668 MB / 0.6575 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.9648, allocations: 10.25 MB / 0.6675 GB, free: 2.367 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003042/0.9679, allocations: 3.397 MB / 0.6708 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004316/0.9723, allocations: 1.88 MB / 0.6727 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000787/0.9731, allocations: 247.4 kB / 0.6729 GB, free: 12.8 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.9731, allocations: 3.938 kB / 0.6729 GB, free: 12.8 MB / 478.1 MB Notification: Performance of Templates: time 0.08872/1.062, allocations: 48.48 MB / 0.7202 GB, free: 12.6 MB / 0.5137 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches