Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 173.4 MB / 200.4 MB, free: 12.84 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.75e-05, allocations: 6.219 kB / 318.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01204/0.01207, allocations: 10.44 MB / 329.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.02232, allocations: 4.161 MB / 333.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.0249, allocations: 102.9 kB / 333.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006423/0.03132, allocations: 2.962 MB / 336.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006065/0.03739, allocations: 2.108 MB / 338.7 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.04017, allocations: 1.127 MB / 339.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009341/0.04951, allocations: 6.22 MB / 346.1 MB, free: 492 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005548/0.05506, allocations: 3.631 MB / 349.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005816/0.06087, allocations: 2.674 MB / 352.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004962/0.06583, allocations: 2.591 MB / 355 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.0672, allocations: 376 kB / 355.3 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.07073, allocations: 1.213 MB / 356.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003337/0.07407, allocations: 2.283 MB / 358.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004696/0.07876, allocations: 1.41 MB / 360.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.09215, allocations: 7.878 MB / 368.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.09216, allocations: 4 kB / 368.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.09216, allocations: 0 / 368.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000306/0.09247, allocations: 0 / 368.1 MB, free: 10.31 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01565/0.1081, allocations: 5.376 MB / 373.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1082, allocations: 8.922 kB / 373.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02967/0.1378, allocations: 3.278 MB / 376.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009587/0.1474, allocations: 3.465 MB / 380.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.1476, allocations: 242.5 kB / 380.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.1487, allocations: 335.7 kB / 380.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02009/0.1688, allocations: 10.13 MB / 390.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001761/0.169, allocations: 47.59 kB / 391 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004636/0.1694, allocations: 151.9 kB / 391.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003814/0.1733, allocations: 1.967 MB / 393.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01857/0.1918, allocations: 8.566 MB / 401.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05358/0.2454, allocations: 36.05 MB / 437.7 MB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009534/0.2549, allocations: 3.454 MB / 441.2 MB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003021/0.258, allocations: 2.063 MB / 443.2 MB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005163/0.2585, allocations: 204.6 kB / 443.4 MB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.2585, allocations: 55.5 kB / 443.5 MB, free: 13.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=166): time 4.128e-06/0.2585, allocations: 0 / 443.5 MB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=201): time 0.06965/0.3282, allocations: 23.21 MB / 466.7 MB, free: 5.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/0.3284, allocations: 260.6 kB / 466.9 MB, free: 5.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006297/0.3347, allocations: 4.132 MB / 471.1 MB, free: 1.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000465/0.3351, allocations: 53.7 kB / 471.1 MB, free: 1.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1679/0.5031, allocations: 3.221 MB / 474.3 MB, free: 128 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.5041, allocations: 0.7904 MB / 475.1 MB, free: 127.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/0.506, allocations: 1.246 MB / 476.4 MB, free: 127.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.506, allocations: 303.3 kB / 476.7 MB, free: 127.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/0.5097, allocations: 2.493 MB / 479.2 MB, free: 126.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/0.5148, allocations: 6.078 MB / 485.3 MB, free: 120.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009121/0.5239, allocations: 9.062 MB / 494.3 MB, free: 113.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001442/0.524, allocations: 35.81 kB / 494.4 MB, free: 113.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01774/0.5418, allocations: 10.49 MB / 0.493 GB, free: 110 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.665e-05/0.5418, allocations: 61.02 kB / 0.4931 GB, free: 110 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.542, allocations: 122.8 kB / 0.4932 GB, free: 110 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006944/0.5489, allocations: 2.59 MB / 0.4957 GB, free: 109.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004088/0.553, allocations: 1.311 MB / 0.497 GB, free: 109.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/0.5722, allocations: 18.16 MB / 0.5147 GB, free: 91.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005326/0.5775, allocations: 421.9 kB / 0.5151 GB, free: 91.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000679/0.5782, allocations: 359.9 kB / 0.5155 GB, free: 90.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.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 (709): * Single equations (assignments): 703 * 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 {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002942/0.5811, allocations: 2.176 MB / 0.5176 GB, free: 88.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007033/0.5818, allocations: 353.7 kB / 0.5179 GB, free: 88.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008173/0.59, allocations: 4.967 MB / 0.5228 GB, free: 83.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/0.59, allocations: 28 kB / 0.5228 GB, free: 83.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.59, allocations: 8 kB / 0.5228 GB, free: 83.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.5901, allocations: 7.969 kB / 0.5228 GB, free: 83.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.6065, allocations: 9.584 MB / 0.5322 GB, free: 73.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.6065, allocations: 0 / 0.5322 GB, free: 73.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.6078, allocations: 293.4 kB / 0.5325 GB, free: 73.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00493/0.6127, allocations: 1.842 MB / 0.5343 GB, free: 71.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/0.6129, allocations: 32 kB / 0.5343 GB, free: 71.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.6242, allocations: 10.22 MB / 0.5443 GB, free: 61.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6242, allocations: 4 kB / 0.5443 GB, free: 61.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.6357, allocations: 8.123 MB / 0.5522 GB, free: 53.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009635/0.6366, allocations: 378.4 kB / 0.5526 GB, free: 52.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004902/0.6371, allocations: 32 kB / 0.5526 GB, free: 52.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.6391, allocations: 203.1 kB / 0.5528 GB, free: 52.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/0.6395, allocations: 125.1 kB / 0.5529 GB, free: 52.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.6396, allocations: 52 kB / 0.553 GB, free: 52.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002815/0.6425, allocations: 2.445 MB / 0.5554 GB, free: 49.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6425, allocations: 0 / 0.5554 GB, free: 49.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005155/0.6476, allocations: 1.345 MB / 0.5567 GB, free: 48.55 MB / 430.1 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 (147): * Single equations (assignments): 143 * 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,33,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.6481, allocations: 198.5 kB / 0.5569 GB, free: 48.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008615/0.6567, allocations: 6.256 MB / 0.563 GB, free: 42.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/0.6568, allocations: 0 / 0.563 GB, free: 42.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002815/0.6596, allocations: 1.993 MB / 0.5649 GB, free: 40.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/0.663, allocations: 0.5078 MB / 0.5654 GB, free: 39.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.6784, allocations: 10.58 MB / 0.5757 GB, free: 29.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002882/0.6813, allocations: 2.911 MB / 0.5786 GB, free: 26.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003442/0.6847, allocations: 1.847 MB / 0.5804 GB, free: 24.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/0.6855, allocations: 240.4 kB / 0.5806 GB, free: 23.97 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6855, allocations: 0 / 0.5806 GB, free: 23.97 MB / 430.1 MB Notification: Performance of Templates: time 0.2316/0.9171, allocations: 47.73 MB / 0.6272 GB, free: 145.6 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.753213170915842]