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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 79.73 kB / 21.97 MB, free: 2.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 169.4 kB / 25.33 MB, free: 9.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8873/0.8873, allocations: 158.6 MB / 187.2 MB, free: 2.438 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 251 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.502e-05, allocations: 6.109 kB / 251 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01294/0.01297, allocations: 12.02 MB / 263.1 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009172/0.02214, allocations: 4.383 MB / 267.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.02461, allocations: 99.44 kB / 267.5 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004894/0.0295, allocations: 3.122 MB / 270.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005551/0.03505, allocations: 2.169 MB / 272.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.0375, allocations: 1.162 MB / 274 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007314/0.04482, allocations: 5.995 MB / 280 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0036/0.04842, allocations: 3.8 MB / 283.8 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.0522, allocations: 3.364 MB / 287.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.05491, allocations: 2.724 MB / 289.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005028/0.05541, allocations: 396 kB / 290.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.05692, allocations: 1.221 MB / 291.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.05833, allocations: 2.365 MB / 293.9 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.05955, allocations: 1.48 MB / 295.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.06417, allocations: 5.282 MB / 300.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.06417, allocations: 3.938 kB / 300.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.06418, allocations: 0 / 300.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.074e-05/0.06427, allocations: 0 / 300.6 MB, free: 1.789 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.1076/0.1719, allocations: 5.927 MB / 306.5 MB, free: 51.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1719, allocations: 13.89 kB / 306.6 MB, free: 51.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.1851, allocations: 3.693 MB / 310.3 MB, free: 51.4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/0.1903, allocations: 2.942 MB / 313.2 MB, free: 50.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.1905, allocations: 252.8 kB / 313.4 MB, free: 50.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006136/0.1911, allocations: 337.8 kB / 313.8 MB, free: 50.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00836/0.1994, allocations: 6.153 MB / 319.9 MB, free: 45.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.1995, allocations: 46.47 kB / 320 MB, free: 45.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/0.1998, allocations: 157.3 kB / 320.1 MB, free: 45.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001313/0.2011, allocations: 1.922 MB / 322 MB, free: 43.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006159/0.2073, allocations: 3.131 MB / 325.2 MB, free: 40.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02725/0.2345, allocations: 42.64 MB / 367.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/0.2383, allocations: 1.569 MB / 369.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006757/0.239, allocations: 488.8 kB / 369.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00632/0.2453, allocations: 4.069 MB / 373.9 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.2453, allocations: 53.98 kB / 374 MB, free: 6.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=136): time 4.238e-06/0.2453, allocations: 0 / 374 MB, free: 6.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=153): time 0.02306/0.2684, allocations: 11.76 MB / 385.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.2685, allocations: 252.3 kB / 386 MB, free: 10.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003956/0.2724, allocations: 3.821 MB / 389.8 MB, free: 6.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.2726, allocations: 49.7 kB / 389.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.2744, allocations: 3.604 MB / 393.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005949/0.275, allocations: 0.6598 MB / 394.1 MB, free: 2.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.2764, allocations: 1.326 MB / 395.5 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2765, allocations: 488.7 kB / 395.9 MB, free: 348 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.2776, allocations: 0.6443 MB / 396.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003772/0.2814, allocations: 6.284 MB / 402.9 MB, free: 6.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005522/0.2869, allocations: 7.495 MB / 410.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.923e-05/0.287, allocations: 36 kB / 410.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.008134/0.2951, allocations: 5.563 MB / 415.9 MB, free: 7.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/0.2952, allocations: 60 kB / 416 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/0.2953, allocations: 132 kB / 416.1 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/0.2971, allocations: 0.7835 MB / 416.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.2996, allocations: 1.376 MB / 418.3 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00636/0.306, allocations: 7.472 MB / 425.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/0.3094, allocations: 435.3 kB / 426.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006808/0.3101, allocations: 368 kB / 426.6 MB, free: 12.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * 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 (746): * Single equations (assignments): 740 * 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.001416/0.3115, allocations: 0.6612 MB / 427.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007061/0.3122, allocations: 393.7 kB / 427.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.314, allocations: 1.163 MB / 428.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.314, allocations: 16 kB / 428.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.314, allocations: 4 kB / 428.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.314, allocations: 11.91 kB / 428.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/0.3223, allocations: 5.078 MB / 433.9 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.3223, allocations: 11.98 kB / 433.9 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.3229, allocations: 252.5 kB / 434.1 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007522/0.3237, allocations: 278.1 kB / 434.4 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.889e-05/0.3238, allocations: 32 kB / 434.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.3258, allocations: 2.572 MB / 437 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.3258, allocations: 15.88 kB / 437 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1133/0.4391, allocations: 2.335 MB / 439.4 MB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.4405, allocations: 0.5321 MB / 439.9 MB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/0.4409, allocations: 34.61 kB / 439.9 MB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000909/0.4418, allocations: 149.3 kB / 440.1 MB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.442, allocations: 115.2 kB / 440.2 MB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/0.4421, allocations: 59.05 kB / 440.2 MB, free: 107.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002563/0.4446, allocations: 1.685 MB / 441.9 MB, free: 107.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4446, allocations: 0 / 441.9 MB, free: 107.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003855/0.4485, allocations: 1.122 MB / 443 MB, free: 107.7 MB / 362.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 (127): * Single equations (assignments): 123 * 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.0003946/0.4489, allocations: 190.5 kB / 443.2 MB, free: 107.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004205/0.4531, allocations: 3.422 MB / 446.7 MB, free: 107 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.4531, allocations: 0 / 446.7 MB, free: 107 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007109/0.4538, allocations: 0.7031 MB / 447.4 MB, free: 106.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.4558, allocations: 0.5266 MB / 447.9 MB, free: 106.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009113/0.4649, allocations: 8.156 MB / 456 MB, free: 103.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.4659, allocations: 1.332 MB / 457.4 MB, free: 103.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00229/0.4682, allocations: 1.557 MB / 458.9 MB, free: 102.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.4686, allocations: 241 kB / 459.2 MB, free: 102.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.984e-06/0.4686, allocations: 0 / 459.2 MB, free: 102.9 MB / 362.7 MB Notification: Performance of Templates: time 0.04311/0.5118, allocations: 34.9 MB / 494.1 MB, free: 71.29 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] 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","",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.975310929119587]