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.001277/0.001277, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2713, allocations: 50.55 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01188/0.2833, allocations: 11.77 MB / 421 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008588/0.2919, allocations: 4.339 MB / 425.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.294, allocations: 75.75 kB / 425.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005338/0.2994, allocations: 2.877 MB / 428.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.3047, allocations: 1.929 MB / 430.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.3077, allocations: 1.037 MB / 431.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008259/0.316, allocations: 5.6 MB / 436.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006097/0.3221, allocations: 3.969 MB / 440.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/0.3258, allocations: 1.702 MB / 442.6 MB, free: 112 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004359/0.3302, allocations: 2.294 MB / 444.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.3316, allocations: 364 kB / 445.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.335, allocations: 1.233 MB / 446.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002899/0.3379, allocations: 2.092 MB / 448.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004237/0.3421, allocations: 2.35 MB / 450.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0098/0.352, allocations: 7.546 MB / 458.4 MB, free: 192 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.352, allocations: 11.94 kB / 458.4 MB, free: 180 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.352, allocations: 0 / 458.4 MB, free: 180 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002966/0.3523, allocations: 4 kB / 458.4 MB, free: 176 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.0166/0.3689, allocations: 5.177 MB / 463.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.369, allocations: 12.03 kB / 463.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02783/0.3968, allocations: 3.162 MB / 466.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009283/0.4062, allocations: 3.524 MB / 470.3 MB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.4064, allocations: 242 kB / 470.6 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001531/0.408, allocations: 331.7 kB / 470.9 MB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.4258, allocations: 9.839 MB / 480.7 MB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.426, allocations: 51.58 kB / 480.8 MB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004378/0.4265, allocations: 147.9 kB / 480.9 MB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003106/0.4296, allocations: 1.9 MB / 482.8 MB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.4445, allocations: 8.495 MB / 491.3 MB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04752/0.4921, allocations: 38.21 MB / 0.5171 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/0.5004, allocations: 3.946 MB / 0.521 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/0.5031, allocations: 2.18 MB / 0.5231 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006986/0.5038, allocations: 0.6478 MB / 0.5237 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5038, allocations: 51.5 kB / 0.5238 GB, free: 72 kB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.088e-06/0.5039, allocations: 4 kB / 0.5238 GB, free: 68 kB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.3309/0.8348, allocations: 22.55 MB / 0.5458 GB, free: 121.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.8349, allocations: 254.1 kB / 0.546 GB, free: 121 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006123/0.8411, allocations: 4.16 MB / 0.5501 GB, free: 119.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003989/0.8415, allocations: 61.45 kB / 0.5502 GB, free: 119.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/0.8433, allocations: 3.071 MB / 0.5532 GB, free: 117.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007736/0.8441, allocations: 0.7711 MB / 0.5539 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.8454, allocations: 1.251 MB / 0.5551 GB, free: 116 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.8455, allocations: 306.2 kB / 0.5554 GB, free: 115.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/0.8482, allocations: 2.489 MB / 0.5579 GB, free: 114.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/0.8523, allocations: 5.98 MB / 0.5637 GB, free: 109.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007974/0.8603, allocations: 9.067 MB / 0.5725 GB, free: 100.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.941e-05/0.8604, allocations: 36 kB / 0.5726 GB, free: 100.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01758/0.878, allocations: 10.56 MB / 0.5829 GB, free: 89.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.8782, allocations: 56 kB / 0.5829 GB, free: 89.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/0.8783, allocations: 120 kB / 0.5831 GB, free: 89.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006758/0.8851, allocations: 2.587 MB / 0.5856 GB, free: 86.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003898/0.889, allocations: 1.306 MB / 0.5869 GB, free: 85.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/0.9078, allocations: 18.64 MB / 0.6051 GB, free: 66.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/0.9123, allocations: 355.4 kB / 0.6054 GB, free: 66.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006537/0.913, allocations: 360 kB / 0.6057 GB, free: 65.91 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.00255/0.9156, allocations: 2.142 MB / 0.6078 GB, free: 63.76 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006142/0.9162, allocations: 367.2 kB / 0.6082 GB, free: 63.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007749/0.924, allocations: 5.026 MB / 0.6131 GB, free: 58.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/0.924, allocations: 23.91 kB / 0.6131 GB, free: 58.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.924, allocations: 8.875 kB / 0.6131 GB, free: 58.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.9241, allocations: 15.89 kB / 0.6131 GB, free: 58.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.9403, allocations: 10.71 MB / 0.6236 GB, free: 47.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.9404, allocations: 4 kB / 0.6236 GB, free: 47.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.9416, allocations: 279.8 kB / 0.6239 GB, free: 47.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00453/0.9461, allocations: 1.846 MB / 0.6257 GB, free: 45.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.9463, allocations: 39.98 kB / 0.6257 GB, free: 45.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.9571, allocations: 10.41 MB / 0.6359 GB, free: 34.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9571, allocations: 3.938 kB / 0.6359 GB, free: 34.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.9686, allocations: 8.158 MB / 0.6438 GB, free: 26.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/0.9703, allocations: 420.3 kB / 0.6442 GB, free: 26.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004517/0.9707, allocations: 35.94 kB / 0.6443 GB, free: 26.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.9723, allocations: 138.1 kB / 0.6444 GB, free: 26.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/0.9727, allocations: 125.1 kB / 0.6445 GB, free: 25.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.9728, allocations: 48 kB / 0.6446 GB, free: 25.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003104/0.976, allocations: 2.611 MB / 0.6471 GB, free: 23.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.976, allocations: 4 kB / 0.6471 GB, free: 23.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004413/0.9804, allocations: 1.162 MB / 0.6483 GB, free: 22.08 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.0003682/0.9808, allocations: 166.5 kB / 0.6484 GB, free: 21.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007522/0.9883, allocations: 6.51 MB / 0.6548 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.9883, allocations: 0 / 0.6548 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.9907, allocations: 2.152 MB / 0.6569 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.9935, allocations: 0.5667 MB / 0.6574 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.007, allocations: 10.26 MB / 0.6675 GB, free: 2.383 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002932/1.009, allocations: 3.397 MB / 0.6708 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003934/1.013, allocations: 1.88 MB / 0.6726 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006925/1.014, allocations: 243.4 kB / 0.6728 GB, free: 12.82 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/1.014, allocations: 0 / 0.6728 GB, free: 12.82 MB / 478.1 MB Notification: Performance of Templates: time 0.08535/1.1, allocations: 48.76 MB / 0.7205 GB, free: 12.39 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