Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001761/0.001761, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.002128/0.002128, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 55.91 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.282, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01283/0.2949, allocations: 11.91 MB / 412.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.3062, allocations: 4.347 MB / 417 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/0.3095, allocations: 79.75 kB / 417.1 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005606/0.3152, allocations: 2.881 MB / 419.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006544/0.3218, allocations: 1.98 MB / 421.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.3244, allocations: 1.045 MB / 423 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007928/0.3324, allocations: 5.571 MB / 428.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004685/0.3371, allocations: 3.977 MB / 432.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.3395, allocations: 1.729 MB / 434.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.3421, allocations: 2.309 MB / 436.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006026/0.3427, allocations: 368 kB / 436.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.3448, allocations: 1.256 MB / 438.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.3465, allocations: 2.143 MB / 440.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.3486, allocations: 2.393 MB / 442.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006661/0.3553, allocations: 7.729 MB / 450.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3553, allocations: 4 kB / 450.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3553, allocations: 4 kB / 450.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.238e-05/0.3554, allocations: 0 / 450.4 MB, free: 6.941 MB / 366.1 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.008746/0.3642, allocations: 5.247 MB / 455.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3642, allocations: 15.89 kB / 455.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02695/0.3912, allocations: 3.166 MB / 458.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008452/0.3997, allocations: 3.586 MB / 462.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.3998, allocations: 238.2 kB / 462.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/0.4004, allocations: 335.7 kB / 463 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.414, allocations: 10.03 MB / 473 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.4141, allocations: 43.56 kB / 473.1 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003652/0.4145, allocations: 159.8 kB / 473.2 MB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003108/0.4176, allocations: 1.963 MB / 475.2 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.4314, allocations: 8.594 MB / 483.8 MB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04268/0.4741, allocations: 38.64 MB / 0.5102 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008086/0.4823, allocations: 3.947 MB / 0.5141 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/0.4847, allocations: 2.197 MB / 0.5162 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/0.4854, allocations: 0.6438 MB / 0.5168 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.4854, allocations: 51.56 kB / 0.5169 GB, free: 5.895 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.767e-06/0.4854, allocations: 0 / 0.5169 GB, free: 5.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.269/0.7544, allocations: 22.59 MB / 0.5389 GB, free: 129.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.7546, allocations: 251.1 kB / 0.5392 GB, free: 129.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005088/0.7597, allocations: 4.176 MB / 0.5433 GB, free: 128.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.76, allocations: 54.19 kB / 0.5433 GB, free: 128.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.7613, allocations: 3.126 MB / 0.5464 GB, free: 126.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.7618, allocations: 0.7657 MB / 0.5471 GB, free: 125.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.7629, allocations: 1.256 MB / 0.5483 GB, free: 125.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.763, allocations: 301.1 kB / 0.5486 GB, free: 125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/0.7655, allocations: 2.487 MB / 0.5511 GB, free: 124.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/0.769, allocations: 5.979 MB / 0.5569 GB, free: 118.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006528/0.7755, allocations: 9.065 MB / 0.5657 GB, free: 111.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-05/0.7756, allocations: 36.12 kB / 0.5658 GB, free: 111.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01415/0.7897, allocations: 10.55 MB / 0.5761 GB, free: 101.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.7898, allocations: 56 kB / 0.5761 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.06e-05/0.7899, allocations: 120 kB / 0.5762 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006068/0.7959, allocations: 2.599 MB / 0.5788 GB, free: 98.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/0.799, allocations: 1.31 MB / 0.5801 GB, free: 97.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/0.817, allocations: 18.64 MB / 0.5983 GB, free: 78.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003895/0.821, allocations: 359.3 kB / 0.5986 GB, free: 77.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.8213, allocations: 360 kB / 0.5989 GB, free: 77.62 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.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 () * 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.002297/0.8236, allocations: 2.166 MB / 0.6011 GB, free: 75.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/0.8241, allocations: 375.2 kB / 0.6014 GB, free: 75.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007649/0.8317, allocations: 5.026 MB / 0.6063 GB, free: 70.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.8318, allocations: 27.52 kB / 0.6064 GB, free: 70 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.8318, allocations: 8 kB / 0.6064 GB, free: 70 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.8318, allocations: 11.95 kB / 0.6064 GB, free: 69.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.846, allocations: 10.8 MB / 0.6169 GB, free: 59.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.846, allocations: 4 kB / 0.6169 GB, free: 59.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.8472, allocations: 279.6 kB / 0.6172 GB, free: 58.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004445/0.8516, allocations: 1.851 MB / 0.619 GB, free: 57.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.8518, allocations: 37.31 kB / 0.619 GB, free: 56.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.8625, allocations: 10.39 MB / 0.6292 GB, free: 46.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8625, allocations: 3.938 kB / 0.6292 GB, free: 46.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.873, allocations: 8.167 MB / 0.6372 GB, free: 38.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007951/0.8738, allocations: 424.2 kB / 0.6376 GB, free: 37.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005296/0.8743, allocations: 35.98 kB / 0.6376 GB, free: 37.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.876, allocations: 135.8 kB / 0.6377 GB, free: 37.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.8763, allocations: 124.9 kB / 0.6378 GB, free: 37.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.8765, allocations: 63.83 kB / 0.6379 GB, free: 37.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003475/0.8799, allocations: 2.62 MB / 0.6405 GB, free: 34.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.88, allocations: 0 / 0.6405 GB, free: 34.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004203/0.8842, allocations: 1.174 MB / 0.6416 GB, free: 33.65 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.0003638/0.8845, allocations: 177.6 kB / 0.6418 GB, free: 33.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007864/0.8924, allocations: 6.509 MB / 0.6481 GB, free: 26.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8924, allocations: 0 / 0.6481 GB, free: 26.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.8947, allocations: 2.159 MB / 0.6502 GB, free: 24.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.8974, allocations: 0.5665 MB / 0.6508 GB, free: 24.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.9118, allocations: 10.4 MB / 0.661 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/0.9152, allocations: 3.442 MB / 0.6643 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003481/0.9187, allocations: 1.872 MB / 0.6661 GB, free: 8.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/0.9195, allocations: 247.4 kB / 0.6664 GB, free: 8.211 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.9195, allocations: 0 / 0.6664 GB, free: 8.211 MB / 462.1 MB Notification: Performance of Templates: time 0.08291/1.002, allocations: 49.05 MB / 0.7143 GB, free: 7.512 MB / 0.4981 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches