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.001894/0.001894, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001953/0.001953, allocations: 170.3 kB / 25.03 MB, free: 8.922 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 1.388/1.388, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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 2.926e-06/2.926e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.48e-05/5.773e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.03106/0.03112, allocations: 11.93 MB / 262.3 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.04231, allocations: 4.36 MB / 266.7 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.04528, allocations: 103.4 kB / 266.8 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007792/0.05307, allocations: 3.122 MB / 269.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006887/0.05996, allocations: 2.158 MB / 272 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.06318, allocations: 1.161 MB / 273.2 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.009564/0.07275, allocations: 5.995 MB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006623/0.07937, allocations: 3.789 MB / 283 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006761/0.08613, allocations: 2.756 MB / 285.7 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00596/0.09209, allocations: 2.759 MB / 288.5 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001567/0.09366, allocations: 396 kB / 288.9 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.09734, allocations: 1.217 MB / 290.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003739/0.1011, allocations: 2.365 MB / 292.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003016/0.1041, allocations: 1.48 MB / 294 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.1154, allocations: 8.174 MB / 302.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1154, allocations: 0 / 302.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1154, allocations: 0 / 302.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002072/0.1156, allocations: 8 kB / 302.1 MB, free: 3.84 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.01555/0.1312, allocations: 6.381 MB / 308.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.1312, allocations: 15.98 kB / 308.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03113/0.1624, allocations: 3.758 MB / 312.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.1728, allocations: 3.366 MB / 315.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.1731, allocations: 246.7 kB / 315.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.1744, allocations: 347.7 kB / 316.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.1906, allocations: 6.647 MB / 322.9 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001726/0.1908, allocations: 51.59 kB / 322.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004824/0.1912, allocations: 151.9 kB / 323.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004262/0.1955, allocations: 2.029 MB / 325.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/0.2078, allocations: 3.659 MB / 328.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1832/0.391, allocations: 47.18 MB / 375.9 MB, free: 62.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/0.3977, allocations: 1.949 MB / 377.9 MB, free: 62.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.3992, allocations: 0.7128 MB / 378.6 MB, free: 62.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.3996, allocations: 198 kB / 378.8 MB, free: 62.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3997, allocations: 59.41 kB / 378.9 MB, free: 62.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=175): time 4.598e-06/0.3997, allocations: 0 / 378.9 MB, free: 62.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=210): time 0.05091/0.4506, allocations: 16.53 MB / 395.4 MB, free: 52.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.4506, allocations: 256.6 kB / 395.6 MB, free: 51.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/0.4557, allocations: 4.71 MB / 400.3 MB, free: 47.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004205/0.4561, allocations: 57.7 kB / 400.4 MB, free: 47.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001798/0.4579, allocations: 3.709 MB / 404.1 MB, free: 43.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.4589, allocations: 0.9206 MB / 405 MB, free: 42.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001767/0.4607, allocations: 1.602 MB / 406.6 MB, free: 41.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.4608, allocations: 484.8 kB / 407.1 MB, free: 40.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.4625, allocations: 0.9256 MB / 408 MB, free: 39.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00346/0.466, allocations: 6.499 MB / 414.5 MB, free: 30.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006096/0.4721, allocations: 8.141 MB / 422.7 MB, free: 20.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/0.4722, allocations: 39.94 kB / 422.7 MB, free: 20.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01421/0.4864, allocations: 7.114 MB / 429.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/0.4865, allocations: 56 kB / 429.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.192e-05/0.4865, allocations: 124 kB / 430 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007289/0.4938, allocations: 1.891 MB / 431.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003836/0.4977, allocations: 1.353 MB / 433.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/0.5131, allocations: 10.74 MB / 444 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005339/0.5185, allocations: 447.3 kB / 444.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/0.5195, allocations: 375.9 kB / 444.8 MB, free: 13.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * 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 (731): * Single equations (assignments): 725 * 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 {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002495/0.522, allocations: 0.7503 MB / 445.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/0.5231, allocations: 417.5 kB / 445.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009046/0.5322, allocations: 2.809 MB / 448.8 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.791e-05/0.5323, allocations: 35.66 kB / 448.8 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.5323, allocations: 8 kB / 448.8 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/0.5323, allocations: 7.969 kB / 448.8 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/0.5551, allocations: 8.273 MB / 457.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.5551, allocations: 3.938 kB / 457.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.5567, allocations: 311.5 kB / 457.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006217/0.5629, allocations: 1.232 MB / 458.6 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000318/0.5633, allocations: 36.03 kB / 458.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009951/0.5732, allocations: 4.397 MB / 463.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5732, allocations: 0.625 kB / 463.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/0.5846, allocations: 4.106 MB / 467.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/0.5872, allocations: 0.6808 MB / 467.8 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/0.5879, allocations: 35.83 kB / 467.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002296/0.5902, allocations: 211.7 kB / 468.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/0.5906, allocations: 133 kB / 468.2 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/0.5908, allocations: 56 kB / 468.3 MB, free: 6.199 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003671/0.5945, allocations: 1.966 MB / 470.2 MB, free: 4.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5945, allocations: 0 / 470.2 MB, free: 4.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005933/0.6004, allocations: 1.359 MB / 471.6 MB, free: 2.891 MB / 362.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 (157): * Single equations (assignments): 153 * 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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005943/0.601, allocations: 194.7 kB / 471.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01082/0.6118, allocations: 4.517 MB / 476.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6118, allocations: 4 kB / 476.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002942/0.6148, allocations: 1.284 MB / 477.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/0.6183, allocations: 0.5201 MB / 478.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/0.6367, allocations: 8.811 MB / 486.9 MB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004546/0.6412, allocations: 2.729 MB / 489.6 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004538/0.6457, allocations: 1.609 MB / 491.3 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009616/0.6467, allocations: 248.4 kB / 491.5 MB, free: 14.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6467, allocations: 0 / 491.5 MB, free: 14.82 MB / 394.7 MB Notification: Performance of Templates: time 0.1996/0.8463, allocations: 49.38 MB / 0.5282 GB, free: 118 MB / 394.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.860772813903168]