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.001175/0.001175, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.00124/0.00124, allocations: 156.4 kB / 25.44 MB, free: 8.855 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.9277/0.9277, allocations: 158.6 MB / 187.2 MB, free: 3.023 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 2.265e-06/2.265e-06, allocations: 0 / 299.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.616e-05/3.842e-05, allocations: 2.281 kB / 299.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1686/0.1687, allocations: 10.8 MB / 310.5 MB, free: 9.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00865/0.1773, allocations: 4.265 MB / 314.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.1798, allocations: 106.6 kB / 314.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004137/0.184, allocations: 2.971 MB / 317.9 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.1903, allocations: 2.164 MB / 320 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.1928, allocations: 1.127 MB / 321.1 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00768/0.2005, allocations: 6.005 MB / 327.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0052/0.2057, allocations: 3.666 MB / 330.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006162/0.2119, allocations: 2.751 MB / 333.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/0.2156, allocations: 2.681 MB / 336.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009391/0.2166, allocations: 392 kB / 336.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.2185, allocations: 1.233 MB / 337.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.2205, allocations: 2.345 MB / 340.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.2224, allocations: 1.468 MB / 341.7 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008423/0.2308, allocations: 8.154 MB / 349.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.2308, allocations: 0 / 349.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2308, allocations: 0 / 349.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002839/0.2311, allocations: 0 / 349.8 MB, free: 12.16 MB / 314.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.01118/0.2422, allocations: 5.512 MB / 355.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.2423, allocations: 11.98 kB / 355.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.2552, allocations: 3.302 MB / 358.7 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006936/0.2621, allocations: 3.629 MB / 362.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.2623, allocations: 250.6 kB / 362.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.2635, allocations: 331.8 kB / 362.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.279, allocations: 10.46 MB / 373.3 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/0.2792, allocations: 55.58 kB / 373.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007567/0.2799, allocations: 159.9 kB / 373.5 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002397/0.2823, allocations: 2.029 MB / 375.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.2973, allocations: 8.872 MB / 384.4 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04372/0.341, allocations: 36.95 MB / 421.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00629/0.3473, allocations: 3.581 MB / 425 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/0.3496, allocations: 2.091 MB / 427.1 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000402/0.35, allocations: 204.8 kB / 427.3 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.35, allocations: 55.75 kB / 427.3 MB, free: 12.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 9.828e-06/0.35, allocations: 7.938 kB / 427.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=210): time 0.04073/0.3908, allocations: 23.6 MB / 450.9 MB, free: 5.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.3909, allocations: 260.6 kB / 451.2 MB, free: 4.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005415/0.3963, allocations: 4.272 MB / 455.4 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005607/0.3969, allocations: 57.7 kB / 455.5 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.3987, allocations: 3.315 MB / 458.8 MB, free: 13.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.3997, allocations: 0.8217 MB / 459.6 MB, free: 12.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/0.4012, allocations: 1.278 MB / 460.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.4013, allocations: 305.1 kB / 461.2 MB, free: 10.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/0.404, allocations: 2.55 MB / 463.8 MB, free: 8.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/0.4081, allocations: 6.235 MB / 470 MB, free: 168 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1759/0.584, allocations: 9.292 MB / 479.3 MB, free: 125.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001321/0.5841, allocations: 35.75 kB / 479.3 MB, free: 125.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01793/0.6021, allocations: 10.7 MB / 490 MB, free: 121.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.6022, allocations: 59.31 kB / 490.1 MB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/0.6023, allocations: 124.3 kB / 490.2 MB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00438/0.6067, allocations: 2.62 MB / 492.8 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.6095, allocations: 1.347 MB / 494.2 MB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/0.6239, allocations: 18.08 MB / 0.5002 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004048/0.6279, allocations: 442.1 kB / 0.5007 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007849/0.6287, allocations: 381.1 kB / 0.501 GB, free: 109.9 MB / 426.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.003094/0.6318, allocations: 2.231 MB / 0.5032 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007566/0.6325, allocations: 363 kB / 0.5036 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/0.6378, allocations: 5.088 MB / 0.5085 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.6378, allocations: 20 kB / 0.5085 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.6378, allocations: 8 kB / 0.5085 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.6378, allocations: 19.89 kB / 0.5086 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.6496, allocations: 9.828 MB / 0.5182 GB, free: 92.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.6496, allocations: 4.875 kB / 0.5182 GB, free: 92.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.6504, allocations: 307.5 kB / 0.5185 GB, free: 92.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/0.653, allocations: 1.854 MB / 0.5203 GB, free: 90.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/0.6532, allocations: 37.08 kB / 0.5203 GB, free: 90.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007572/0.6608, allocations: 10.2 MB / 0.5303 GB, free: 80.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6608, allocations: 1.625 kB / 0.5303 GB, free: 80.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007742/0.6685, allocations: 8.3 MB / 0.5384 GB, free: 72.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/0.6702, allocations: 0.7351 MB / 0.5391 GB, free: 71.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003726/0.6706, allocations: 32 kB / 0.5391 GB, free: 71.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6716, allocations: 211.7 kB / 0.5393 GB, free: 71.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/0.6719, allocations: 135.2 kB / 0.5394 GB, free: 71.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/0.672, allocations: 52 kB / 0.5395 GB, free: 71.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002434/0.6745, allocations: 2.556 MB / 0.542 GB, free: 68.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6745, allocations: 0 / 0.542 GB, free: 68.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004644/0.6791, allocations: 1.354 MB / 0.5433 GB, free: 67.18 MB / 426.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.0005176/0.6796, allocations: 193.7 kB / 0.5435 GB, free: 66.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007287/0.6869, allocations: 6.398 MB / 0.5497 GB, free: 60.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.6869, allocations: 0 / 0.5497 GB, free: 60.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.689, allocations: 2.065 MB / 0.5518 GB, free: 58.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.6915, allocations: 0.5057 MB / 0.5523 GB, free: 58.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/0.7074, allocations: 11.37 MB / 0.5634 GB, free: 46.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003223/0.7107, allocations: 2.975 MB / 0.5663 GB, free: 43.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.712, allocations: 292.4 kB / 0.5665 GB, free: 43.33 MB / 426.7 MB Notification: Performance of SimCode: time 4.078e-06/0.712, allocations: 0 / 0.5665 GB, free: 43.33 MB / 426.7 MB Notification: Performance of Templates: time 0.2662/0.9782, allocations: 107 MB / 0.671 GB, free: 110.9 MB / 442.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] 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: 9.31704328674823]