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.001378/0.001378, allocations: 88.7 kB / 21.44 MB, free: 276 kB / 14.72 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.00156/0.00156, allocations: 163.8 kB / 24.71 MB, free: 3.527 MB / 14.72 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.327/1.327, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 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 1.743e-06/1.743e-06, allocations: 0 / 299 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.649e-05, allocations: 2.281 kB / 299 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01434/0.01437, allocations: 10.81 MB / 309.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.02445, allocations: 4.258 MB / 314 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.02666, allocations: 99.44 kB / 314.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006498/0.03315, allocations: 2.97 MB / 317.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005815/0.03897, allocations: 2.166 MB / 319.3 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.04161, allocations: 1.13 MB / 320.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1646/0.2062, allocations: 5.991 MB / 326.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00537/0.2115, allocations: 3.674 MB / 330.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004579/0.2161, allocations: 2.751 MB / 332.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.2198, allocations: 2.683 MB / 335.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007977/0.2206, allocations: 394.5 kB / 335.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.2229, allocations: 1.224 MB / 337.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.2247, allocations: 2.35 MB / 339.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.2263, allocations: 1.463 MB / 340.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007058/0.2334, allocations: 8.164 MB / 349.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2334, allocations: 1.656 kB / 349.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2334, allocations: 0 / 349.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001852/0.2336, allocations: 0 / 349.1 MB, free: 8.793 MB / 302.1 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.01165/0.2452, allocations: 5.517 MB / 354.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2453, allocations: 12.08 kB / 354.6 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02848/0.2737, allocations: 3.314 MB / 357.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009347/0.2831, allocations: 3.612 MB / 361.5 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.2833, allocations: 248.3 kB / 361.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.2844, allocations: 342.3 kB / 362.1 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/0.3038, allocations: 10.45 MB / 372.6 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.3039, allocations: 44.41 kB / 372.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004665/0.3044, allocations: 159.1 kB / 372.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003886/0.3083, allocations: 2.025 MB / 374.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.3263, allocations: 8.868 MB / 383.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05154/0.3779, allocations: 36.95 MB / 420.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009409/0.3873, allocations: 3.565 MB / 424.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002977/0.3902, allocations: 2.094 MB / 426.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/0.3908, allocations: 208.3 kB / 426.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.3908, allocations: 55.5 kB / 426.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.448e-06/0.3908, allocations: 0 / 426.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.06875/0.4596, allocations: 23.62 MB / 450.1 MB, free: 5.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.4597, allocations: 252.6 kB / 450.4 MB, free: 4.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006174/0.4659, allocations: 4.279 MB / 454.7 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003359/0.4662, allocations: 60.75 kB / 454.7 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002513/0.4688, allocations: 3.309 MB / 458 MB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009891/0.4697, allocations: 0.831 MB / 458.9 MB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/0.4716, allocations: 1.27 MB / 460.1 MB, free: 11.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4717, allocations: 305.1 kB / 460.4 MB, free: 10.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003973/0.4757, allocations: 2.554 MB / 463 MB, free: 8.285 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006931/0.4827, allocations: 6.23 MB / 469.2 MB, free: 340 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/0.495, allocations: 9.288 MB / 478.5 MB, free: 5.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/0.4951, allocations: 36.94 kB / 478.5 MB, free: 5.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.1774/0.6725, allocations: 10.71 MB / 489.2 MB, free: 133.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.229e-05/0.6726, allocations: 64.11 kB / 489.3 MB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/0.6728, allocations: 123.8 kB / 489.4 MB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008484/0.6813, allocations: 2.607 MB / 492 MB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/0.6862, allocations: 1.35 MB / 493.4 MB, free: 133.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/0.7085, allocations: 18.08 MB / 0.4995 GB, free: 124.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005941/0.7144, allocations: 449.8 kB / 0.4999 GB, free: 124.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/0.7156, allocations: 369.3 kB / 0.5003 GB, free: 124.1 MB / 430.1 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.003754/0.7193, allocations: 2.235 MB / 0.5024 GB, free: 123.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/0.7203, allocations: 363.3 kB / 0.5028 GB, free: 123.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009416/0.7298, allocations: 5.088 MB / 0.5078 GB, free: 121.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.7298, allocations: 26.53 kB / 0.5078 GB, free: 121.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.7298, allocations: 6.562 kB / 0.5078 GB, free: 121.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-05/0.7298, allocations: 11.78 kB / 0.5078 GB, free: 121.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/0.748, allocations: 9.825 MB / 0.5174 GB, free: 112.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.7481, allocations: 4 kB / 0.5174 GB, free: 112.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.7496, allocations: 309.9 kB / 0.5177 GB, free: 112 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005016/0.7546, allocations: 1.854 MB / 0.5195 GB, free: 110.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002719/0.7549, allocations: 36 kB / 0.5195 GB, free: 110.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.7662, allocations: 10.19 MB / 0.5295 GB, free: 99.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7662, allocations: 3.938 kB / 0.5295 GB, free: 99.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/0.7783, allocations: 8.299 MB / 0.5376 GB, free: 91.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/0.7807, allocations: 0.7329 MB / 0.5383 GB, free: 91.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008835/0.7816, allocations: 35.98 kB / 0.5383 GB, free: 91.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/0.7842, allocations: 211.7 kB / 0.5385 GB, free: 90.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004611/0.7846, allocations: 129 kB / 0.5387 GB, free: 90.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.7848, allocations: 58.72 kB / 0.5387 GB, free: 90.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003355/0.7881, allocations: 2.556 MB / 0.5412 GB, free: 88.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7881, allocations: 3.938 kB / 0.5412 GB, free: 88.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005627/0.7938, allocations: 1.353 MB / 0.5425 GB, free: 86.89 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 (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.0005059/0.7943, allocations: 195.8 kB / 0.5427 GB, free: 86.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008603/0.8029, allocations: 6.406 MB / 0.549 GB, free: 80.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8029, allocations: 0 / 0.549 GB, free: 80.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002572/0.8055, allocations: 2.066 MB / 0.551 GB, free: 78.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.8086, allocations: 0.5066 MB / 0.5515 GB, free: 77.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.824, allocations: 10.95 MB / 0.5622 GB, free: 66.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002836/0.8268, allocations: 3.003 MB / 0.5651 GB, free: 63.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003859/0.8306, allocations: 1.882 MB / 0.567 GB, free: 61.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008575/0.8315, allocations: 256.4 kB / 0.5672 GB, free: 61.58 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8315, allocations: 0 / 0.5672 GB, free: 61.58 MB / 430.1 MB Notification: Performance of Templates: time 0.07467/0.9062, allocations: 48.87 MB / 0.6149 GB, free: 12.62 MB / 430.1 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: 6.786256950348616]