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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008515/0.0008515, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003606/0.003606, allocations: 143.6 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.846/0.846, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.467e-06/3.467e-06, allocations: 4 kB / 319.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/2.082e-05, allocations: 2.281 kB / 319.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.00831/0.008331, allocations: 10.44 MB / 330.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006915/0.01525, allocations: 4.16 MB / 334.3 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009623/0.01621, allocations: 111.2 kB / 334.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.01908, allocations: 2.963 MB / 337.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.02183, allocations: 2.107 MB / 339.5 MB, free: 1.859 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.02309, allocations: 1.126 MB / 340.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003864/0.02695, allocations: 6.219 MB / 346.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.02936, allocations: 3.616 MB / 350.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.03153, allocations: 2.674 MB / 353.1 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.03341, allocations: 2.587 MB / 355.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.0337, allocations: 376 kB / 356.1 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.03496, allocations: 1.213 MB / 357.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.03617, allocations: 2.283 MB / 359.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008831/0.03706, allocations: 1.421 MB / 361 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004871/0.04193, allocations: 7.874 MB / 368.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.04193, allocations: 3.938 kB / 368.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.04193, allocations: 0 / 368.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.064e-05/0.04198, allocations: 0 / 368.9 MB, free: 4.34 MB / 330.7 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.005911/0.04789, allocations: 5.366 MB / 374.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.04793, allocations: 8.922 kB / 374.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.05914, allocations: 3.286 MB / 377.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005261/0.0644, allocations: 3.468 MB / 381 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.06451, allocations: 244.2 kB / 381.2 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.06489, allocations: 335.7 kB / 381.6 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009663/0.07455, allocations: 10.13 MB / 391.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-05/0.07465, allocations: 55.58 kB / 391.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.07492, allocations: 159.8 kB / 391.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001802/0.07672, allocations: 1.955 MB / 393.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009501/0.08623, allocations: 8.566 MB / 402.4 MB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/0.1131, allocations: 36.04 MB / 438.5 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.1177, allocations: 3.467 MB / 441.9 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.1193, allocations: 2.049 MB / 444 MB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.1195, allocations: 196.6 kB / 444.2 MB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1196, allocations: 59.48 kB / 444.2 MB, free: 7.109 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 3.747e-06/0.1196, allocations: 0 / 444.2 MB, free: 7.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.203/0.3226, allocations: 23.22 MB / 467.4 MB, free: 113.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.3227, allocations: 250.6 kB / 467.7 MB, free: 113.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.3261, allocations: 4.126 MB / 471.8 MB, free: 109.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.3263, allocations: 57.7 kB / 471.9 MB, free: 109.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000964/0.3272, allocations: 3.231 MB / 475.1 MB, free: 106.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/0.3277, allocations: 0.7881 MB / 475.9 MB, free: 105.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009061/0.3286, allocations: 1.242 MB / 477.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.965e-05/0.3286, allocations: 305.1 kB / 477.4 MB, free: 104.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.3305, allocations: 2.487 MB / 479.9 MB, free: 101.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002601/0.3331, allocations: 6.088 MB / 486 MB, free: 93.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005042/0.3381, allocations: 9.063 MB / 495.1 MB, free: 83.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-05/0.3382, allocations: 39.47 kB / 495.1 MB, free: 83.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.009531/0.3477, allocations: 10.49 MB / 0.4937 GB, free: 72.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.3477, allocations: 56 kB / 0.4938 GB, free: 72.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-05/0.3478, allocations: 124 kB / 0.4939 GB, free: 72.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/0.3512, allocations: 2.602 MB / 0.4965 GB, free: 69.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.353, allocations: 1.31 MB / 0.4977 GB, free: 68.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.3654, allocations: 18.14 MB / 0.5155 GB, free: 50 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.3682, allocations: 431.9 kB / 0.5159 GB, free: 49.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.3684, allocations: 364 kB / 0.5162 GB, free: 49.22 MB / 410.7 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.002204/0.3706, allocations: 2.162 MB / 0.5183 GB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.371, allocations: 361.5 kB / 0.5187 GB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/0.3757, allocations: 4.965 MB / 0.5235 GB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.3757, allocations: 28.69 kB / 0.5235 GB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3757, allocations: 8 kB / 0.5235 GB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3757, allocations: 7.969 kB / 0.5236 GB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009146/0.3848, allocations: 9.59 MB / 0.5329 GB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3849, allocations: 0 / 0.5329 GB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006198/0.3855, allocations: 291.5 kB / 0.5332 GB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.3879, allocations: 1.842 MB / 0.535 GB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.659e-05/0.388, allocations: 35.94 kB / 0.535 GB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007267/0.3953, allocations: 10.23 MB / 0.545 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3953, allocations: 4.031 kB / 0.545 GB, free: 19.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006763/0.4021, allocations: 8.121 MB / 0.553 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/0.4026, allocations: 375.7 kB / 0.5533 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.4028, allocations: 38.75 kB / 0.5533 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/0.4037, allocations: 199.5 kB / 0.5535 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.4039, allocations: 121.1 kB / 0.5537 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/0.404, allocations: 52 kB / 0.5537 GB, free: 10.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00213/0.4062, allocations: 2.449 MB / 0.5561 GB, free: 8.234 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4062, allocations: 0 / 0.5561 GB, free: 8.234 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003611/0.4098, allocations: 1.344 MB / 0.5574 GB, free: 6.891 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 () * 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.0003862/0.4102, allocations: 200.9 kB / 0.5576 GB, free: 6.695 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005083/0.4152, allocations: 6.242 MB / 0.5637 GB, free: 444 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4152, allocations: 0 / 0.5637 GB, free: 444 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.4171, allocations: 1.991 MB / 0.5656 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.4186, allocations: 0.5219 MB / 0.5661 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.4297, allocations: 11 MB / 0.5769 GB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/0.4321, allocations: 2.891 MB / 0.5797 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.4327, allocations: 288.4 kB / 0.58 GB, free: 15.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4327, allocations: 0 / 0.58 GB, free: 15.68 MB / 442.7 MB Notification: Performance of Templates: time 0.2448/0.6774, allocations: 103.7 MB / 0.6813 GB, free: 85.75 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.580761534161866]