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.00162/0.00162, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.00181/0.00181, allocations: 152.5 kB / 24.49 MB, free: 3.727 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.446/1.446, allocations: 173.4 MB / 201.1 MB, free: 12.7 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 0.001576/0.001576, allocations: 46.88 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08652, allocations: 52.16 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01334/0.09986, allocations: 10.46 MB / 382 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008887/0.1087, allocations: 4.16 MB / 386.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.1103, allocations: 99.44 kB / 386.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005598/0.1159, allocations: 2.819 MB / 389.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.1206, allocations: 2.05 MB / 391.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.1229, allocations: 1.037 MB / 392.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007836/0.1307, allocations: 5.557 MB / 397.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003837/0.1346, allocations: 3.089 MB / 400.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.1372, allocations: 1.764 MB / 402.6 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/0.1407, allocations: 2.356 MB / 405 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007524/0.1414, allocations: 364 kB / 405.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.1437, allocations: 1.155 MB / 406.5 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.146, allocations: 2.17 MB / 408.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002358/0.1484, allocations: 1.794 MB / 410.4 MB, free: 296 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009489/0.1579, allocations: 7.783 MB / 418.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1579, allocations: 0 / 418.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1579, allocations: 0 / 418.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002099/0.1581, allocations: 0 / 418.2 MB, free: 8.473 MB / 382.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.01141/0.1695, allocations: 5.309 MB / 423.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1695, allocations: 8.922 kB / 423.5 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0282/0.1977, allocations: 3.294 MB / 426.8 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008981/0.2067, allocations: 3.531 MB / 430.4 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.2069, allocations: 242.1 kB / 430.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008618/0.2078, allocations: 323.8 kB / 430.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.2253, allocations: 10.13 MB / 441 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.2254, allocations: 55.59 kB / 441.1 MB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.2259, allocations: 151.9 kB / 441.2 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/0.2295, allocations: 1.955 MB / 443.2 MB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.2461, allocations: 8.578 MB / 451.8 MB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2103/0.4564, allocations: 35.83 MB / 487.6 MB, free: 64.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00807/0.4644, allocations: 3.453 MB / 491.1 MB, free: 64.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.4666, allocations: 2.051 MB / 493.1 MB, free: 63.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004238/0.467, allocations: 200.5 kB / 493.3 MB, free: 63.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.467, allocations: 54.34 kB / 493.4 MB, free: 63.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 3.988e-06/0.467, allocations: 0 / 493.4 MB, free: 63.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.05321/0.5202, allocations: 23.06 MB / 0.5043 GB, free: 51.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.5203, allocations: 252.6 kB / 0.5046 GB, free: 50.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00515/0.5255, allocations: 3.958 MB / 0.5084 GB, free: 47.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003524/0.5258, allocations: 57.27 kB / 0.5085 GB, free: 47.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.5276, allocations: 3.26 MB / 0.5117 GB, free: 44.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000807/0.5284, allocations: 0.8035 MB / 0.5124 GB, free: 43.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/0.5305, allocations: 1.27 MB / 0.5137 GB, free: 41.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.848e-05/0.5305, allocations: 305.1 kB / 0.514 GB, free: 41.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004642/0.5351, allocations: 2.487 MB / 0.5164 GB, free: 39.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006187/0.5413, allocations: 6.085 MB / 0.5223 GB, free: 31.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/0.5534, allocations: 9.059 MB / 0.5312 GB, free: 20.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/0.5535, allocations: 36 kB / 0.5312 GB, free: 20.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.02828/0.5818, allocations: 10.5 MB / 0.5415 GB, free: 10.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.5819, allocations: 56 kB / 0.5415 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/0.5821, allocations: 124 kB / 0.5416 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/0.5925, allocations: 2.586 MB / 0.5442 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005916/0.5984, allocations: 1.306 MB / 0.5455 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02915/0.6275, allocations: 18.07 MB / 0.5631 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/0.6321, allocations: 371.4 kB / 0.5635 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009644/0.6331, allocations: 360 kB / 0.5638 GB, free: 3.023 MB / 446.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.004082/0.6372, allocations: 2.171 MB / 0.5659 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008668/0.638, allocations: 357.7 kB / 0.5663 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.6489, allocations: 4.966 MB / 0.5711 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/0.649, allocations: 24 kB / 0.5711 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/0.649, allocations: 12 kB / 0.5711 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/0.649, allocations: 7.969 kB / 0.5711 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/0.6692, allocations: 9.483 MB / 0.5804 GB, free: 2.012 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.6692, allocations: 4 kB / 0.5804 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.6706, allocations: 283.5 kB / 0.5807 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005631/0.6762, allocations: 1.85 MB / 0.5825 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/0.6764, allocations: 32 kB / 0.5825 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/0.692, allocations: 10.15 MB / 0.5924 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.692, allocations: 3.938 kB / 0.5924 GB, free: 5.582 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.7066, allocations: 8.121 MB / 0.6004 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009478/0.7075, allocations: 331.3 kB / 0.6007 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005826/0.7081, allocations: 36 kB / 0.6007 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/0.71, allocations: 139.8 kB / 0.6008 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/0.7103, allocations: 121 kB / 0.601 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.7105, allocations: 52 kB / 0.601 GB, free: 12.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00399/0.7145, allocations: 2.32 MB / 0.6033 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7145, allocations: 0 / 0.6033 GB, free: 10.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005086/0.7196, allocations: 1.172 MB / 0.6044 GB, free: 9.289 MB / 494.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.0004678/0.7201, allocations: 174.7 kB / 0.6046 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01135/0.7314, allocations: 6.245 MB / 0.6107 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.7314, allocations: 4 kB / 0.6107 GB, free: 2.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003514/0.7349, allocations: 1.995 MB / 0.6126 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/0.7383, allocations: 0.5172 MB / 0.6131 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/0.7568, allocations: 10.59 MB / 0.6235 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004924/0.7618, allocations: 2.903 MB / 0.6263 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004619/0.7664, allocations: 1.843 MB / 0.6281 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008424/0.7672, allocations: 232.5 kB / 0.6283 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of SimCode: time 1.352e-06/0.7672, allocations: 0 / 0.6283 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of Templates: time 0.2531/1.02, allocations: 45.53 MB / 0.6728 GB, free: 179.6 MB / 0.5294 GB " [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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/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.732492269016802]