Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009593/0.0009593, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004242/0.004242, allocations: 168.1 kB / 24.82 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9862/0.9862, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.636e-05, allocations: 3.719 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01265/0.01267, allocations: 11.13 MB / 284.5 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007106/0.01978, allocations: 4.238 MB / 288.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.02175, allocations: 107.4 kB / 288.8 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1257/0.1474, allocations: 3.027 MB / 291.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004428/0.1519, allocations: 2.058 MB / 293.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.1537, allocations: 1.152 MB / 295 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006644/0.1603, allocations: 6.348 MB / 301.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/0.1646, allocations: 3.701 MB / 305.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004678/0.1693, allocations: 3.634 MB / 308.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.1722, allocations: 2.607 MB / 311.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009678/0.1732, allocations: 372.9 kB / 311.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.1749, allocations: 1.199 MB / 312.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.176, allocations: 2.241 MB / 315.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.1774, allocations: 1.4 MB / 316.5 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00388/0.1813, allocations: 5.016 MB / 321.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1813, allocations: 0 / 321.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1813, allocations: 0 / 321.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.652e-05/0.1814, allocations: 0 / 321.5 MB, free: 15.41 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.006483/0.1879, allocations: 5.441 MB / 327 MB, free: 10.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1879, allocations: 11.98 kB / 327 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.1992, allocations: 2.72 MB / 329.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.2038, allocations: 2.485 MB / 332.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.204, allocations: 238.5 kB / 332.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004427/0.2044, allocations: 319.8 kB / 332.8 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006541/0.211, allocations: 5.421 MB / 338.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.2111, allocations: 51.06 kB / 338.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.2113, allocations: 150.1 kB / 338.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001383/0.2127, allocations: 1.638 MB / 340 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005066/0.2178, allocations: 2.367 MB / 342.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.2504, allocations: 40.99 MB / 383.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.2539, allocations: 1.341 MB / 384.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/0.2547, allocations: 394.4 kB / 385.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005823/0.2605, allocations: 3.68 MB / 388.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.2606, allocations: 53.92 kB / 388.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 4.668e-06/0.2606, allocations: 0 / 388.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=143): time 0.0167/0.2773, allocations: 6.641 MB / 395.5 MB, free: 5.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.2774, allocations: 248.3 kB / 395.7 MB, free: 4.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.2806, allocations: 3.706 MB / 399.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.537e-05/0.2807, allocations: 45.7 kB / 399.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.2826, allocations: 3.516 MB / 403 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004747/0.2831, allocations: 0.6283 MB / 403.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.2841, allocations: 1.319 MB / 404.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.2842, allocations: 476.8 kB / 405.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008841/0.2851, allocations: 0.5541 MB / 405.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/0.2885, allocations: 6.12 MB / 412.1 MB, free: 1.844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005216/0.2937, allocations: 7.159 MB / 419.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-05/0.2938, allocations: 40 kB / 419.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.006984/0.3007, allocations: 4.948 MB / 424.2 MB, free: 3.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.3008, allocations: 61 kB / 424.3 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/0.3009, allocations: 128 kB / 424.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.3024, allocations: 0.6733 MB / 425.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.3048, allocations: 1.291 MB / 426.4 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/0.3103, allocations: 7.094 MB / 433.4 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.3133, allocations: 263.7 kB / 433.7 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/0.3136, allocations: 316 kB / 434 MB, free: 9.043 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.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 (723): * Single equations (assignments): 717 * 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 {(2,9,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.3148, allocations: 0.6536 MB / 434.7 MB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004838/0.3153, allocations: 381.6 kB / 435 MB, free: 8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.3166, allocations: 0.9591 MB / 436 MB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.3166, allocations: 16 kB / 436 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3166, allocations: 4 kB / 436 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3166, allocations: 7.969 kB / 436 MB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/0.323, allocations: 4.684 MB / 440.7 MB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.3231, allocations: 8 kB / 440.7 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/0.3235, allocations: 199.7 kB / 440.9 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006296/0.3242, allocations: 232.7 kB / 441.1 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/0.3242, allocations: 32 kB / 441.2 MB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1487/0.4729, allocations: 2.469 MB / 443.6 MB, free: 120 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.4729, allocations: 11.16 kB / 443.7 MB, free: 120 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.4764, allocations: 2.101 MB / 445.8 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009327/0.4774, allocations: 359 kB / 446.1 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.4777, allocations: 33.83 kB / 446.1 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/0.4787, allocations: 34.78 kB / 446.2 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.4789, allocations: 107.8 kB / 446.3 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-05/0.479, allocations: 39.66 kB / 446.3 MB, free: 119 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002525/0.4815, allocations: 1.517 MB / 447.8 MB, free: 118.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4815, allocations: 1.188 kB / 447.8 MB, free: 118.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004991/0.4865, allocations: 1.059 MB / 448.9 MB, free: 118.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (revolute1.w,damper.phi_rel,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 (116): * Single equations (assignments): 112 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004186/0.4869, allocations: 188.9 kB / 449.1 MB, free: 118.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005096/0.492, allocations: 3.084 MB / 452.2 MB, free: 118.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.492, allocations: 1.375 kB / 452.2 MB, free: 118.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009665/0.493, allocations: 0.6102 MB / 452.8 MB, free: 117.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.4959, allocations: 0.5157 MB / 453.3 MB, free: 117.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.5087, allocations: 7.738 MB / 461 MB, free: 114.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.5104, allocations: 1.267 MB / 462.3 MB, free: 114.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001931/0.5124, allocations: 499.4 kB / 462.8 MB, free: 114.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.5134, allocations: 0.6255 MB / 463.4 MB, free: 114.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.954e-06/0.5134, allocations: 0 / 463.4 MB, free: 114.2 MB / 394.7 MB Notification: Performance of Templates: time 0.05085/0.5643, allocations: 35.29 MB / 498.7 MB, free: 86.61 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8967876150272787]