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.001327/0.001327, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001513/0.001513, allocations: 143.4 kB / 24.89 MB, free: 8.742 MB / 18.57 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 0.8406/0.8406, allocations: 173.4 MB / 201.5 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] 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.673e-06/1.673e-06, allocations: 0 / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.194e-05, allocations: 2.312 kB / 268.5 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.007893/0.007905, allocations: 11.26 MB / 279.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005866/0.01377, allocations: 4.422 MB / 284.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007328/0.0145, allocations: 99.44 kB / 284.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.01714, allocations: 3.091 MB / 287.4 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.01953, allocations: 2.142 MB / 289.5 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.02071, allocations: 1.161 MB / 290.7 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00393/0.02464, allocations: 6.202 MB / 296.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.02687, allocations: 3.821 MB / 300.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.02944, allocations: 3.63 MB / 304.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.03129, allocations: 2.521 MB / 306.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.0316, allocations: 380 kB / 307.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.03275, allocations: 1.201 MB / 308.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.03404, allocations: 2.299 MB / 310.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009278/0.03497, allocations: 1.429 MB / 312.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003502/0.03847, allocations: 5.126 MB / 317.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.03847, allocations: 4 kB / 317.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.03847, allocations: 0 / 317.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.185e-05/0.03851, allocations: 0 / 317.3 MB, free: 8.805 MB / 298.7 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.004493/0.043, allocations: 4.908 MB / 322.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.04303, allocations: 8.031 kB / 322.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/0.04647, allocations: 1.316 MB / 323.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.04894, allocations: 2.337 MB / 325.8 MB, free: 124 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.04905, allocations: 242.6 kB / 326.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/0.04938, allocations: 327.7 kB / 326.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/0.05372, allocations: 4.951 MB / 331.3 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-05/0.05379, allocations: 43.62 kB / 331.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.05403, allocations: 151.9 kB / 331.5 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001308/0.05534, allocations: 1.694 MB / 333.2 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.05854, allocations: 2.432 MB / 335.7 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.131/0.1895, allocations: 30.01 MB / 365.7 MB, free: 60.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.1933, allocations: 1.343 MB / 367 MB, free: 60.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.1938, allocations: 320 kB / 367.3 MB, free: 60.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004802/0.1986, allocations: 3.439 MB / 370.8 MB, free: 59.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1986, allocations: 53.88 kB / 370.8 MB, free: 59.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 3.256e-06/0.1986, allocations: 0.875 kB / 370.8 MB, free: 59.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.01325/0.2119, allocations: 5.899 MB / 376.7 MB, free: 59.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.2119, allocations: 249.4 kB / 376.9 MB, free: 58.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.214, allocations: 3.334 MB / 380.3 MB, free: 58.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.214, allocations: 48.84 kB / 380.3 MB, free: 58.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007821/0.2148, allocations: 3.111 MB / 383.4 MB, free: 56.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.2151, allocations: 0.5982 MB / 384 MB, free: 56.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000717/0.2158, allocations: 1.143 MB / 385.2 MB, free: 55.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.223e-05/0.2158, allocations: 301.1 kB / 385.5 MB, free: 55.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009522/0.2167, allocations: 0.7232 MB / 386.2 MB, free: 55.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.2183, allocations: 4.352 MB / 390.6 MB, free: 49.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/0.2209, allocations: 5.493 MB / 396 MB, free: 42.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.565e-05/0.221, allocations: 40 kB / 396.1 MB, free: 42.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.003805/0.2248, allocations: 4.231 MB / 400.3 MB, free: 38.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.2248, allocations: 60 kB / 400.4 MB, free: 38.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.212e-05/0.2249, allocations: 128 kB / 400.5 MB, free: 38.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.226, allocations: 0.6601 MB / 401.2 MB, free: 37.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.2277, allocations: 1.291 MB / 402.4 MB, free: 36.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.231, allocations: 5.384 MB / 407.8 MB, free: 30.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.2329, allocations: 263.8 kB / 408.1 MB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.2331, allocations: 314.9 kB / 408.4 MB, free: 29.86 MB / 330.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.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 (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.00079/0.2339, allocations: 0.597 MB / 409 MB, free: 29.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.2341, allocations: 223.7 kB / 409.2 MB, free: 29.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009526/0.2351, allocations: 0.844 MB / 410.1 MB, free: 28.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.2351, allocations: 19.98 kB / 410.1 MB, free: 28.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2351, allocations: 4 kB / 410.1 MB, free: 28.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2351, allocations: 7.969 kB / 410.1 MB, free: 28.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.2389, allocations: 4.021 MB / 414.1 MB, free: 23.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2389, allocations: 12.03 kB / 414.1 MB, free: 23.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.2393, allocations: 195.7 kB / 414.3 MB, free: 23.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006361/0.24, allocations: 420.3 kB / 414.7 MB, free: 23.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.24, allocations: 31.98 kB / 414.8 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.2411, allocations: 1.904 MB / 416.7 MB, free: 21.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.2411, allocations: 11.94 kB / 416.7 MB, free: 21.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.2423, allocations: 1.777 MB / 418.4 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.2426, allocations: 337.5 kB / 418.8 MB, free: 19.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.2428, allocations: 35.98 kB / 418.8 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/0.2434, allocations: 35.98 kB / 418.8 MB, free: 19.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.2435, allocations: 106 kB / 418.9 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.2435, allocations: 39.98 kB / 419 MB, free: 18.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007584/0.2443, allocations: 1.256 MB / 420.2 MB, free: 17.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2443, allocations: 0 / 420.2 MB, free: 17.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002361/0.2466, allocations: 1.082 MB / 421.3 MB, free: 16.55 MB / 330.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.0002465/0.2469, allocations: 179.9 kB / 421.5 MB, free: 16.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.249, allocations: 2.731 MB / 424.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001259/0.2491, allocations: 96.91 kB / 424.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.2495, allocations: 0.5175 MB / 424.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.2511, allocations: 0.7449 MB / 425.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/0.2569, allocations: 7.726 MB / 433.3 MB, free: 4.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/0.2577, allocations: 1.28 MB / 434.6 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000891/0.2586, allocations: 0.4941 MB / 435.1 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/0.2593, allocations: 0.5792 MB / 435.7 MB, free: 1.98 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2593, allocations: 0 / 435.7 MB, free: 1.98 MB / 330.7 MB Notification: Performance of Templates: time 0.04691/0.3062, allocations: 35.47 MB / 471.1 MB, free: 14.9 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] 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","",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.660712657030672]