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.0009509/0.0009509, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001615/0.002566, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001042/0.001042, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002319, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9675/0.9675, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08921/1.057, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.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.693e-06/1.693e-06, allocations: 0 / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.25e-05, allocations: 6.875 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01313/0.01315, allocations: 11.38 MB / 250.9 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008189/0.02134, allocations: 4.454 MB / 255.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.02302, allocations: 95.44 kB / 255.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003013/0.02604, allocations: 2.943 MB / 258.4 MB, free: 224 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.02959, allocations: 2.096 MB / 260.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.03117, allocations: 1.06 MB / 261.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005389/0.03656, allocations: 5.653 MB / 267.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003418/0.03997, allocations: 3.337 MB / 270.6 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.04422, allocations: 3.407 MB / 274 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1198/0.164, allocations: 2.498 MB / 276.5 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.1652, allocations: 380.5 kB / 276.9 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.1674, allocations: 1.247 MB / 278.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.1693, allocations: 2.063 MB / 280.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.1716, allocations: 1.157 MB / 281.3 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00497/0.1765, allocations: 4.744 MB / 286.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.1766, allocations: 0 / 286.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1766, allocations: 0 / 286.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.1767, allocations: 3.312 kB / 286.1 MB, free: 7.328 MB / 266.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.006403/0.1831, allocations: 5.892 MB / 292 MB, free: 5.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1831, allocations: 9.875 kB / 292 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/0.1872, allocations: 1.338 MB / 293.3 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.19, allocations: 2.33 MB / 295.6 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.19, allocations: 236.3 kB / 295.9 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.1904, allocations: 326.4 kB / 296.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00456/0.195, allocations: 4.952 MB / 301.1 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.419e-05/0.195, allocations: 48.62 kB / 301.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.1953, allocations: 154.2 kB / 301.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001156/0.1964, allocations: 1.706 MB / 303 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.2, allocations: 2.431 MB / 305.5 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.2245, allocations: 30.02 MB / 335.5 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.2272, allocations: 1.317 MB / 336.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.2276, allocations: 322.4 kB / 337.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004527/0.2321, allocations: 3.419 MB / 340.5 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.2322, allocations: 50.41 kB / 340.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 3.216e-06/0.2322, allocations: 0 / 340.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=143): time 0.01297/0.2451, allocations: 5.836 MB / 346.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.2452, allocations: 141.5 kB / 346.6 MB, free: 5.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/0.248, allocations: 3.341 MB / 349.9 MB, free: 3.133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.2481, allocations: 41.7 kB / 349.9 MB, free: 3.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.2493, allocations: 3.109 MB / 353.1 MB, free: 144 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.2497, allocations: 0.5975 MB / 353.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000863/0.2505, allocations: 1.138 MB / 354.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003179/0.2508, allocations: 304.9 kB / 355.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.2519, allocations: 0.7227 MB / 355.8 MB, free: 13.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.2543, allocations: 4.36 MB / 360.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/0.2582, allocations: 5.491 MB / 365.7 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.708e-05/0.2583, allocations: 40 kB / 365.7 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.005169/0.2634, allocations: 4.232 MB / 369.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.487e-05/0.2635, allocations: 61 kB / 370 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-05/0.2636, allocations: 128 kB / 370.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.2649, allocations: 0.659 MB / 370.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.2671, allocations: 1.443 MB / 372.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004461/0.2715, allocations: 5.39 MB / 377.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.274, allocations: 266.2 kB / 377.9 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/0.2742, allocations: 312 kB / 378.2 MB, free: 3.965 MB / 346.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.001371/0.2756, allocations: 0.6085 MB / 378.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.276, allocations: 214 kB / 379 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.2771, allocations: 0.8536 MB / 379.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.2771, allocations: 16 kB / 379.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2771, allocations: 7.938 kB / 379.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.2771, allocations: 7.969 kB / 379.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005472/0.2826, allocations: 4.012 MB / 383.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.2826, allocations: 8 kB / 383.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.2831, allocations: 232.3 kB / 384.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.2836, allocations: 337 kB / 384.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008089/0.2844, allocations: 416.6 kB / 384.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/0.2844, allocations: 43.92 kB / 384.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.286, allocations: 1.906 MB / 386.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.286, allocations: 11.94 kB / 386.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.2877, allocations: 1.781 MB / 388.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.2879, allocations: 32 kB / 388.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/0.2886, allocations: 35.98 kB / 388.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/0.289, allocations: 100.4 kB / 388.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.289, allocations: 40 kB / 388.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001133/0.2902, allocations: 1.258 MB / 390.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2902, allocations: 4 kB / 390.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003482/0.2937, allocations: 1.094 MB / 391.2 MB, free: 7.348 MB / 362.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.0003438/0.294, allocations: 174.1 kB / 391.3 MB, free: 7.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.2971, allocations: 2.733 MB / 394.1 MB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001875/0.2973, allocations: 110.8 kB / 394.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.2978, allocations: 0.5034 MB / 394.7 MB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.3001, allocations: 0.979 MB / 395.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.3136, allocations: 7.928 MB / 403.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.3152, allocations: 1.289 MB / 404.9 MB, free: 9.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001556/0.3167, allocations: 0.4922 MB / 405.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009854/0.3177, allocations: 0.5792 MB / 405.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3177, allocations: 0 / 405.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of Templates: time 0.1555/0.4733, allocations: 36.31 MB / 442.3 MB, free: 106.1 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 -ignoreHideResult -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.7762641021981835]