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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9425/0.9425, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.501e-05, allocations: 2.312 kB / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009238/0.009263, allocations: 11.12 MB / 285.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.01623, allocations: 4.252 MB / 289.5 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.01817, allocations: 103.4 kB / 289.6 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003413/0.02158, allocations: 3.041 MB / 292.6 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003704/0.02528, allocations: 2.057 MB / 294.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.02686, allocations: 1.142 MB / 295.8 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006193/0.03306, allocations: 6.342 MB / 302.2 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004024/0.03708, allocations: 3.706 MB / 305.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004576/0.04166, allocations: 3.622 MB / 309.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002864/0.04452, allocations: 2.619 MB / 312.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005915/0.04511, allocations: 376 kB / 312.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.04671, allocations: 1.19 MB / 313.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001777/0.04849, allocations: 2.248 MB / 315.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.04981, allocations: 1.394 MB / 317.3 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005041/0.05485, allocations: 5.022 MB / 322.4 MB, free: 3.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.05485, allocations: 0 / 322.4 MB, free: 3.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.05485, allocations: 4 kB / 322.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001041/0.05496, allocations: 0 / 322.4 MB, free: 3.844 MB / 298.7 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.006871/0.06183, allocations: 5.446 MB / 327.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.06187, allocations: 8.031 kB / 327.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.07414, allocations: 2.718 MB / 330.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.07811, allocations: 2.472 MB / 333 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.07825, allocations: 238.5 kB / 333.2 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/0.07881, allocations: 335.7 kB / 333.6 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008199/0.08701, allocations: 5.421 MB / 339 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.08715, allocations: 39.66 kB / 339 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/0.08747, allocations: 155.9 kB / 339.2 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/0.08905, allocations: 1.639 MB / 340.8 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005272/0.09432, allocations: 2.359 MB / 343.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.175/0.2693, allocations: 40.99 MB / 384.2 MB, free: 45.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.2722, allocations: 1.316 MB / 385.5 MB, free: 45.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.2725, allocations: 400.1 kB / 385.9 MB, free: 45.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003858/0.2764, allocations: 3.681 MB / 389.5 MB, free: 44.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2764, allocations: 47.39 kB / 389.6 MB, free: 44.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.414e-06/0.2764, allocations: 2.188 kB / 389.6 MB, free: 44.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.01443/0.2909, allocations: 6.645 MB / 396.2 MB, free: 43.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.2909, allocations: 251 kB / 396.5 MB, free: 42.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.2933, allocations: 3.711 MB / 400.2 MB, free: 40.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.2934, allocations: 47.73 kB / 400.2 MB, free: 40.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.2946, allocations: 3.503 MB / 403.7 MB, free: 37.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.2949, allocations: 0.6321 MB / 404.4 MB, free: 36.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000885/0.2958, allocations: 1.323 MB / 405.7 MB, free: 35.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.2958, allocations: 480.6 kB / 406.2 MB, free: 34.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007719/0.2966, allocations: 0.5569 MB / 406.7 MB, free: 34.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.2986, allocations: 6.112 MB / 412.8 MB, free: 25.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.3021, allocations: 7.167 MB / 420 MB, free: 16.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.751e-05/0.3022, allocations: 40 kB / 420 MB, free: 16.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.005046/0.3072, allocations: 4.952 MB / 425 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.3072, allocations: 60 kB / 425.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.056e-05/0.3073, allocations: 128 kB / 425.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.3087, allocations: 0.6604 MB / 425.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.3105, allocations: 1.291 MB / 427.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.3145, allocations: 7.097 MB / 434.2 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.3167, allocations: 263.7 kB / 434.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.317, allocations: 308 kB / 434.8 MB, free: 1.359 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (723): * Single equations (assignments): 717 * 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 {(2,9,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.318, allocations: 0.6495 MB / 435.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004145/0.3184, allocations: 377.7 kB / 435.8 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.3197, allocations: 0.9668 MB / 436.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.3197, allocations: 16 kB / 436.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3197, allocations: 4 kB / 436.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3197, allocations: 3.984 kB / 436.8 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005679/0.3254, allocations: 4.683 MB / 441.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.3254, allocations: 8 kB / 441.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/0.3258, allocations: 199.7 kB / 441.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006017/0.3264, allocations: 235.9 kB / 441.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/0.3265, allocations: 31.98 kB / 441.9 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.3281, allocations: 2.481 MB / 444.4 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.3281, allocations: 15.94 kB / 444.4 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.3299, allocations: 2.109 MB / 446.6 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.3303, allocations: 345.5 kB / 446.9 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.3305, allocations: 35.92 kB / 446.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006429/0.3312, allocations: 32 kB / 447 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3313, allocations: 108.3 kB / 447.1 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.3313, allocations: 40 kB / 447.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001241/0.3326, allocations: 1.522 MB / 448.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3326, allocations: 0 / 448.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002632/0.3352, allocations: 1.055 MB / 449.7 MB, free: 2.047 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (revolute1.w,damper.phi_rel,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 (116): * Single equations (assignments): 112 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002933/0.3355, allocations: 190.8 kB / 449.9 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.3385, allocations: 3.086 MB / 452.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3385, allocations: 0 / 452.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.3391, allocations: 0.6087 MB / 453.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.3406, allocations: 0.519 MB / 454.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009288/0.3499, allocations: 7.751 MB / 461.8 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.3511, allocations: 1.266 MB / 463.1 MB, free: 4.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001263/0.3523, allocations: 0.491 MB / 463.6 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008128/0.3531, allocations: 0.6308 MB / 464.2 MB, free: 3.254 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3531, allocations: 0 / 464.2 MB, free: 3.254 MB / 362.7 MB Notification: Performance of Templates: time 0.05643/0.4096, allocations: 36 MB / 0.4885 GB, free: 15.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.040381557308137]