Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001991/0.001991, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 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.002523/0.002523, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 43.94 kB / 378.3 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2576, allocations: 53.36 MB / 431.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01424/0.2719, allocations: 11.86 MB / 443.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009131/0.281, allocations: 4.388 MB / 447.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.2828, allocations: 103.4 kB / 448 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00601/0.2888, allocations: 2.92 MB / 450.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.294, allocations: 1.988 MB / 452.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.2965, allocations: 1.06 MB / 454 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008276/0.3048, allocations: 5.601 MB / 459.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00478/0.3096, allocations: 3.07 MB / 462.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.3128, allocations: 1.733 MB / 464.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004553/0.3174, allocations: 2.481 MB / 466.8 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.3186, allocations: 364 kB / 467.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.3215, allocations: 1.272 MB / 468.5 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002789/0.3243, allocations: 2.127 MB / 470.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00361/0.3279, allocations: 2.35 MB / 472.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009142/0.337, allocations: 7.576 MB / 480.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.337, allocations: 0 / 480.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.337, allocations: 0 / 480.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000161/0.3372, allocations: 0 / 480.5 MB, free: 5.867 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01103/0.3482, allocations: 5.246 MB / 485.8 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3483, allocations: 8.031 kB / 485.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02533/0.3736, allocations: 3.192 MB / 489 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.3838, allocations: 3.453 MB / 492.4 MB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.384, allocations: 246.1 kB / 492.7 MB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008574/0.3848, allocations: 323.8 kB / 493 MB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.4011, allocations: 9.847 MB / 0.491 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.4012, allocations: 51.58 kB / 0.4911 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003918/0.4016, allocations: 151.9 kB / 0.4912 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003298/0.4049, allocations: 1.904 MB / 0.4931 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.4207, allocations: 8.491 MB / 0.5014 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2892/0.7099, allocations: 38.14 MB / 0.5386 GB, free: 75.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008242/0.7181, allocations: 3.377 MB / 0.5419 GB, free: 75.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/0.7205, allocations: 2.048 MB / 0.5439 GB, free: 75.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004673/0.7209, allocations: 204 kB / 0.5441 GB, free: 75.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.721, allocations: 51.06 kB / 0.5442 GB, free: 75.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 5.23e-06/0.721, allocations: 1.062 kB / 0.5442 GB, free: 75.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05606/0.777, allocations: 22.46 MB / 0.5661 GB, free: 64.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.7771, allocations: 260.1 kB / 0.5664 GB, free: 63.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005885/0.783, allocations: 4.163 MB / 0.5704 GB, free: 59.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004078/0.7834, allocations: 60.55 kB / 0.5705 GB, free: 59.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.7849, allocations: 3.199 MB / 0.5736 GB, free: 56.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007887/0.7857, allocations: 0.801 MB / 0.5744 GB, free: 56.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/0.7876, allocations: 1.266 MB / 0.5756 GB, free: 54.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.7876, allocations: 301.1 kB / 0.5759 GB, free: 54.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/0.7907, allocations: 2.494 MB / 0.5783 GB, free: 52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004223/0.7949, allocations: 5.978 MB / 0.5842 GB, free: 44.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007601/0.8025, allocations: 9.072 MB / 0.593 GB, free: 33.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.8026, allocations: 40 kB / 0.5931 GB, free: 33.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01665/0.8193, allocations: 10.52 MB / 0.6034 GB, free: 23.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/0.8194, allocations: 56 kB / 0.6034 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/0.8195, allocations: 120 kB / 0.6035 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006493/0.826, allocations: 2.598 MB / 0.6061 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003625/0.8296, allocations: 1.313 MB / 0.6073 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/0.8496, allocations: 18.35 MB / 0.6253 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/0.8542, allocations: 363.6 kB / 0.6256 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009262/0.8551, allocations: 360 kB / 0.6259 GB, free: 15.82 MB / 462.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.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.004405/0.8595, allocations: 2.138 MB / 0.628 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.8606, allocations: 393.3 kB / 0.6284 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.8716, allocations: 4.999 MB / 0.6333 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/0.8716, allocations: 20 kB / 0.6333 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.8716, allocations: 11.98 kB / 0.6333 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.8717, allocations: 7.969 kB / 0.6333 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/0.8937, allocations: 10.67 MB / 0.6437 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.8937, allocations: 4 kB / 0.6437 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.8952, allocations: 275.6 kB / 0.644 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005537/0.9007, allocations: 1.842 MB / 0.6458 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002714/0.901, allocations: 39.98 kB / 0.6458 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/0.9166, allocations: 10.31 MB / 0.6559 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.9166, allocations: 7.938 kB / 0.6559 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.9318, allocations: 8.158 MB / 0.6639 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.933, allocations: 369.3 kB / 0.6642 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006495/0.9336, allocations: 28 kB / 0.6643 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.9353, allocations: 139.8 kB / 0.6644 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/0.9357, allocations: 125 kB / 0.6645 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/0.9359, allocations: 55.98 kB / 0.6646 GB, free: 8.023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004583/0.9405, allocations: 2.615 MB / 0.6671 GB, free: 5.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9405, allocations: 0 / 0.6671 GB, free: 5.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005396/0.9459, allocations: 1.16 MB / 0.6683 GB, free: 4.238 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.0004687/0.9463, allocations: 160.6 kB / 0.6684 GB, free: 4.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01121/0.9575, allocations: 6.264 MB / 0.6745 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9575, allocations: 0 / 0.6745 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003764/0.9613, allocations: 1.994 MB / 0.6765 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.9646, allocations: 0.5667 MB / 0.677 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.9844, allocations: 10.49 MB / 0.6873 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004248/0.9887, allocations: 3.393 MB / 0.6906 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00464/0.9933, allocations: 1.872 MB / 0.6924 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007781/0.9941, allocations: 247.4 kB / 0.6927 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of SimCode: time 1.493e-06/0.9941, allocations: 0 / 0.6927 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of Templates: time 0.1025/1.097, allocations: 53.18 MB / 0.7446 GB, free: 6.273 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.103382897796109]