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.001428/0.001428, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001591/0.001591, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9246/0.9246, allocations: 177 MB / 204.8 MB, free: 5.578 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.874e-06/1.874e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.281e-05, allocations: 5.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0135/0.01354, allocations: 11.48 MB / 284.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009881/0.02342, allocations: 4.285 MB / 288.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.02572, allocations: 95.44 kB / 288.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1282/0.1539, allocations: 3.082 MB / 291.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005996/0.1599, allocations: 2.061 MB / 293.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.1622, allocations: 1.149 MB / 295.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00774/0.17, allocations: 6.346 MB / 301.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005123/0.1751, allocations: 3.693 MB / 305.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007111/0.1822, allocations: 3.617 MB / 308.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003758/0.186, allocations: 2.603 MB / 311.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.187, allocations: 374.1 kB / 311.7 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.1892, allocations: 1.201 MB / 312.9 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.1912, allocations: 2.25 MB / 315.1 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002442/0.1936, allocations: 1.396 MB / 316.5 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006259/0.1999, allocations: 5.016 MB / 321.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.1999, allocations: 0 / 321.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1999, allocations: 3 kB / 321.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002374/0.2001, allocations: 3.938 kB / 321.6 MB, free: 15.29 MB / 282.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.009494/0.2096, allocations: 5.721 MB / 327.3 MB, free: 9.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.2097, allocations: 15.98 kB / 327.3 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.2222, allocations: 3.635 MB / 330.9 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005155/0.2273, allocations: 2.827 MB / 333.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.2276, allocations: 238.9 kB / 334 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000946/0.2285, allocations: 333 kB / 334.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009317/0.2378, allocations: 5.945 MB / 340.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.238, allocations: 50 kB / 340.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.2383, allocations: 151.9 kB / 340.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001616/0.2399, allocations: 1.789 MB / 342.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00703/0.247, allocations: 3.007 MB / 345.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03384/0.2808, allocations: 41.35 MB / 386.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003755/0.2845, allocations: 1.511 MB / 388.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/0.2853, allocations: 465.3 kB / 388.6 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00575/0.2911, allocations: 3.921 MB / 392.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.2911, allocations: 53.92 kB / 392.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 5.039e-06/0.2911, allocations: 0 / 392.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=143): time 0.02079/0.3119, allocations: 10.95 MB / 403.5 MB, free: 12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.312, allocations: 244.3 kB / 403.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/0.3162, allocations: 3.728 MB / 407.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.3164, allocations: 45.7 kB / 407.5 MB, free: 7.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.3181, allocations: 3.48 MB / 411 MB, free: 4.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006202/0.3188, allocations: 0.6147 MB / 411.6 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.3199, allocations: 1.301 MB / 412.9 MB, free: 2.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004409/0.3203, allocations: 476.8 kB / 413.4 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.3214, allocations: 0.6166 MB / 414 MB, free: 1.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/0.3251, allocations: 6.152 MB / 420.1 MB, free: 8.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005661/0.3307, allocations: 7.316 MB / 427.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.486e-05/0.3308, allocations: 39.83 kB / 427.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.008443/0.3393, allocations: 5.419 MB / 432.9 MB, free: 9.492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.3393, allocations: 60 kB / 433 MB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.3394, allocations: 128.8 kB / 433.1 MB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/0.3411, allocations: 0.7939 MB / 433.9 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.3435, allocations: 1.333 MB / 435.2 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1218/0.4653, allocations: 7.463 MB / 442.7 MB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/0.4682, allocations: 408.3 kB / 443.1 MB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004482/0.4686, allocations: 356.4 kB / 443.4 MB, free: 117.6 MB / 394.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.001163/0.4698, allocations: 0.6419 MB / 444.1 MB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/0.4702, allocations: 383.1 kB / 444.5 MB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.4719, allocations: 1.092 MB / 445.5 MB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.472, allocations: 16.81 kB / 445.6 MB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.472, allocations: 5.453 kB / 445.6 MB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.472, allocations: 6.797 kB / 445.6 MB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007537/0.4795, allocations: 4.841 MB / 450.4 MB, free: 116.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.4795, allocations: 7 kB / 450.4 MB, free: 116.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/0.4803, allocations: 235.4 kB / 450.6 MB, free: 116.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/0.4812, allocations: 266.8 kB / 450.9 MB, free: 116.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/0.4813, allocations: 40.17 kB / 450.9 MB, free: 116.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.4835, allocations: 2.572 MB / 453.5 MB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.4835, allocations: 17.17 kB / 453.5 MB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/0.4864, allocations: 2.257 MB / 455.8 MB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/0.487, allocations: 366.6 kB / 456.2 MB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/0.4874, allocations: 38.44 kB / 456.2 MB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.4884, allocations: 131.2 kB / 456.3 MB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.4886, allocations: 102.2 kB / 456.4 MB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.458e-05/0.4887, allocations: 48.38 kB / 456.5 MB, free: 113.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002236/0.4909, allocations: 1.645 MB / 458.1 MB, free: 113.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4909, allocations: 3.344 kB / 458.1 MB, free: 113.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004049/0.495, allocations: 1.059 MB / 459.2 MB, free: 113.5 MB / 394.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.000379/0.4954, allocations: 178.9 kB / 459.3 MB, free: 113.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004483/0.4998, allocations: 3.332 MB / 462.7 MB, free: 112.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.4999, allocations: 0 / 462.7 MB, free: 112.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007977/0.5007, allocations: 0.6578 MB / 463.3 MB, free: 112.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.5028, allocations: 0.519 MB / 463.9 MB, free: 112.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.5132, allocations: 7.774 MB / 471.6 MB, free: 109.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.5144, allocations: 1.269 MB / 472.9 MB, free: 109 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002728/0.5172, allocations: 1.519 MB / 474.4 MB, free: 108.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/0.5177, allocations: 231.9 kB / 474.6 MB, free: 108.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5177, allocations: 0 / 474.6 MB, free: 108.8 MB / 394.7 MB Notification: Performance of Templates: time 0.04374/0.5614, allocations: 33.45 MB / 0.4962 GB, free: 77.45 MB / 394.7 MB " [Timeout remaining time 659] 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: 3.8314714240841568]