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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 106.5 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 191 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 51.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08369/0.08489, allocations: 46.61 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1901/0.2751, allocations: 12.33 MB / 387.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008645/0.2838, allocations: 4.435 MB / 391.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.2858, allocations: 83 kB / 392 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005323/0.2912, allocations: 2.9 MB / 394.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.297, allocations: 2.026 MB / 396.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.2998, allocations: 1.049 MB / 398 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008029/0.3078, allocations: 5.331 MB / 403.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004818/0.3127, allocations: 4.055 MB / 407.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.3154, allocations: 1.777 MB / 409.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.3182, allocations: 2.395 MB / 411.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005985/0.3188, allocations: 388.6 kB / 411.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.3208, allocations: 1.261 MB / 413.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.3226, allocations: 2.206 MB / 415.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.3246, allocations: 2.474 MB / 417.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006583/0.3311, allocations: 7.993 MB / 425.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3312, allocations: 0 / 425.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.3312, allocations: 0 / 425.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.3313, allocations: 3.938 kB / 425.8 MB, free: 12.87 MB / 350.1 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.009733/0.3411, allocations: 5.381 MB / 431.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3411, allocations: 8.031 kB / 431.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02739/0.3685, allocations: 3.197 MB / 434.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009415/0.3779, allocations: 3.735 MB / 438.2 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.3782, allocations: 254.2 kB / 438.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009983/0.3792, allocations: 335.7 kB / 438.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.3939, allocations: 10.35 MB / 449.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.3941, allocations: 47.58 kB / 449.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003974/0.3945, allocations: 159.9 kB / 449.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003302/0.3978, allocations: 2.029 MB / 451.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.4132, allocations: 8.899 MB / 460.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04763/0.4608, allocations: 39.63 MB / 499.9 MB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008808/0.4697, allocations: 4.056 MB / 0.4921 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002774/0.4725, allocations: 2.238 MB / 0.4943 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000727/0.4733, allocations: 0.6554 MB / 0.4949 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.4733, allocations: 55.5 kB / 0.495 GB, free: 9.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 4.108e-06/0.4733, allocations: 0 / 0.495 GB, free: 9.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06381/0.5371, allocations: 22.96 MB / 0.5174 GB, free: 2.488 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.5373, allocations: 252.6 kB / 0.5176 GB, free: 2.188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006915/0.5442, allocations: 4.263 MB / 0.5218 GB, free: 13.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000407/0.5447, allocations: 61.69 kB / 0.5219 GB, free: 13.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0022/0.5469, allocations: 3.194 MB / 0.525 GB, free: 10.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009636/0.5478, allocations: 0.806 MB / 0.5258 GB, free: 9.785 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002106/0.55, allocations: 1.281 MB / 0.527 GB, free: 8.492 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.5501, allocations: 301.1 kB / 0.5273 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/0.5539, allocations: 2.558 MB / 0.5298 GB, free: 5.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005972/0.5598, allocations: 6.126 MB / 0.5358 GB, free: 13.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.5703, allocations: 9.288 MB / 0.5449 GB, free: 2.719 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/0.5705, allocations: 36 kB / 0.5449 GB, free: 2.684 MB / 478.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.2113/0.7818, allocations: 10.76 MB / 0.5554 GB, free: 143.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-05/0.7819, allocations: 58.03 kB / 0.5555 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/0.7821, allocations: 124.4 kB / 0.5556 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007853/0.7899, allocations: 2.611 MB / 0.5581 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004463/0.7944, allocations: 1.352 MB / 0.5594 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.8166, allocations: 18.59 MB / 0.5776 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/0.8212, allocations: 372.6 kB / 0.5779 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006018/0.8219, allocations: 368.5 kB / 0.5783 GB, free: 133 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (731): * Single equations (assignments): 725 * 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 {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002725/0.8246, allocations: 2.232 MB / 0.5805 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005788/0.8252, allocations: 383.2 kB / 0.5808 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008482/0.8337, allocations: 5.159 MB / 0.5859 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.8337, allocations: 23.34 kB / 0.5859 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.8337, allocations: 12.33 kB / 0.5859 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.8338, allocations: 6.516 kB / 0.5859 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.8502, allocations: 11.06 MB / 0.5967 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.8502, allocations: 4 kB / 0.5967 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.8516, allocations: 307.5 kB / 0.597 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004643/0.8562, allocations: 1.854 MB / 0.5988 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.8564, allocations: 35.98 kB / 0.5989 GB, free: 118.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.8672, allocations: 10.39 MB / 0.609 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8673, allocations: 0 / 0.609 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.8782, allocations: 8.344 MB / 0.6172 GB, free: 100 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/0.88, allocations: 0.7733 MB / 0.6179 GB, free: 99.22 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/0.8804, allocations: 33.53 kB / 0.6179 GB, free: 99.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.882, allocations: 147.8 kB / 0.6181 GB, free: 99.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.8824, allocations: 124.5 kB / 0.6182 GB, free: 98.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.8826, allocations: 52 kB / 0.6182 GB, free: 98.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002909/0.8855, allocations: 2.688 MB / 0.6209 GB, free: 96.19 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.21e-07/0.8855, allocations: 0 / 0.6209 GB, free: 96.19 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00425/0.8897, allocations: 1.208 MB / 0.6221 GB, free: 94.98 MB / 478.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 (157): * Single equations (assignments): 153 * 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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003541/0.8901, allocations: 182.5 kB / 0.6222 GB, free: 94.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007844/0.8979, allocations: 6.675 MB / 0.6287 GB, free: 88.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.898, allocations: 0 / 0.6287 GB, free: 88.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.9006, allocations: 2.242 MB / 0.6309 GB, free: 85.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.9036, allocations: 0.5665 MB / 0.6315 GB, free: 85.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/0.9195, allocations: 10.72 MB / 0.642 GB, free: 74.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003156/0.9228, allocations: 3.527 MB / 0.6454 GB, free: 71.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003781/0.9266, allocations: 1.92 MB / 0.6473 GB, free: 69.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007023/0.9273, allocations: 263.4 kB / 0.6475 GB, free: 68.84 MB / 478.1 MB Notification: Performance of SimCode: time 7.42e-07/0.9273, allocations: 0 / 0.6475 GB, free: 68.84 MB / 478.1 MB Notification: Performance of Templates: time 0.07216/0.9995, allocations: 50.06 MB / 0.6964 GB, free: 18.86 MB / 478.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches