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.0009801/0.0009801, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001009/0.001009, allocations: 148.9 kB / 24.81 MB, free: 9.27 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.9469/0.9469, allocations: 173.3 MB / 201.4 MB, free: 9.227 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.323e-06/1.323e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.948e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009404/0.009424, allocations: 11.26 MB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00687/0.01629, allocations: 4.245 MB / 283.9 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.0177, allocations: 103.4 kB / 284 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.02103, allocations: 3.056 MB / 287.1 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.02443, allocations: 2.115 MB / 289.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.02591, allocations: 1.154 MB / 290.3 MB, free: 188 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1156/0.1415, allocations: 6.212 MB / 296.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00443/0.146, allocations: 3.731 MB / 300.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004473/0.1504, allocations: 3.664 MB / 304 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.1531, allocations: 2.636 MB / 306.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006693/0.1538, allocations: 376.2 kB / 307 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.1552, allocations: 1.212 MB / 308.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.1564, allocations: 2.303 MB / 310.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.1578, allocations: 1.42 MB / 311.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004308/0.1621, allocations: 5.132 MB / 317 MB, free: 6.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1621, allocations: 4 kB / 317 MB, free: 6.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1621, allocations: 0 / 317 MB, free: 6.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.1622, allocations: 0 / 317 MB, free: 6.293 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.005229/0.1675, allocations: 5.51 MB / 322.5 MB, free: 1.117 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1675, allocations: 8.922 kB / 322.5 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.1781, allocations: 2.739 MB / 325.3 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/0.1824, allocations: 2.5 MB / 327.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.1825, allocations: 242.9 kB / 328 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004315/0.1829, allocations: 326.8 kB / 328.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006597/0.1895, allocations: 5.471 MB / 333.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.1897, allocations: 45.39 kB / 333.9 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.1899, allocations: 151.5 kB / 334 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001398/0.1913, allocations: 1.694 MB / 335.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.1958, allocations: 2.385 MB / 338.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02849/0.2243, allocations: 41.38 MB / 379.5 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.2273, allocations: 1.319 MB / 380.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.2277, allocations: 402.1 kB / 381.2 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004437/0.2322, allocations: 3.696 MB / 384.9 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2322, allocations: 46.05 kB / 384.9 MB, free: 2.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 3.747e-06/0.2322, allocations: 4 kB / 384.9 MB, free: 2.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.01611/0.2483, allocations: 6.658 MB / 391.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/0.2484, allocations: 248.3 kB / 391.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.2519, allocations: 3.717 MB / 395.5 MB, free: 8.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.252, allocations: 45.7 kB / 395.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/0.2537, allocations: 3.551 MB / 399.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005057/0.2542, allocations: 0.6244 MB / 399.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.2556, allocations: 1.323 MB / 401.1 MB, free: 2.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.2557, allocations: 484.7 kB / 401.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008105/0.2565, allocations: 0.5502 MB / 402.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/0.26, allocations: 6.117 MB / 408.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004898/0.2649, allocations: 7.169 MB / 415.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-05/0.2649, allocations: 36 kB / 415.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.006163/0.2711, allocations: 4.956 MB / 420.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.2711, allocations: 60 kB / 420.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.2712, allocations: 135.9 kB / 420.6 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.2726, allocations: 0.6613 MB / 421.2 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/0.2749, allocations: 1.294 MB / 422.5 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005322/0.2802, allocations: 7.088 MB / 429.6 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.2828, allocations: 271.7 kB / 429.9 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/0.2831, allocations: 315.1 kB / 430.2 MB, free: 0.6484 MB / 378.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.1142/0.3973, allocations: 0.6436 MB / 430.8 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008859/0.3982, allocations: 381.4 kB / 431.2 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.4, allocations: 0.963 MB / 432.2 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.4, allocations: 15.62 kB / 432.2 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.4, allocations: 4.438 kB / 432.2 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.4, allocations: 7.109 kB / 432.2 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006895/0.4069, allocations: 4.717 MB / 436.9 MB, free: 111.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.4069, allocations: 8.516 kB / 436.9 MB, free: 111.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.4074, allocations: 198.6 kB / 437.1 MB, free: 111.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000655/0.4081, allocations: 235.9 kB / 437.3 MB, free: 111.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.4081, allocations: 34.47 kB / 437.4 MB, free: 111.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.4097, allocations: 2.469 MB / 439.8 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.4097, allocations: 17.08 kB / 439.9 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.4119, allocations: 2.109 MB / 442 MB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.4124, allocations: 354.7 kB / 442.3 MB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.4127, allocations: 31.78 kB / 442.3 MB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006741/0.4133, allocations: 32.47 kB / 442.4 MB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4134, allocations: 110.8 kB / 442.5 MB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.4135, allocations: 43.33 kB / 442.5 MB, free: 108.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001656/0.4152, allocations: 1.524 MB / 444.1 MB, free: 108.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4152, allocations: 0.5312 kB / 444.1 MB, free: 108.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003357/0.4185, allocations: 1.088 MB / 445.1 MB, free: 108.2 MB / 378.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.0002967/0.4188, allocations: 195.3 kB / 445.3 MB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.4218, allocations: 3.074 MB / 448.4 MB, free: 107.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4218, allocations: 2.531 kB / 448.4 MB, free: 107.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004979/0.4223, allocations: 0.6102 MB / 449 MB, free: 107.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.4239, allocations: 0.5295 MB / 449.5 MB, free: 107.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00796/0.4318, allocations: 7.861 MB / 457.4 MB, free: 103.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.4328, allocations: 1.286 MB / 458.7 MB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001334/0.4342, allocations: 0.4939 MB / 459.2 MB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000853/0.435, allocations: 0.6327 MB / 459.8 MB, free: 103.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.435, allocations: 0 / 459.8 MB, free: 103.1 MB / 378.7 MB Notification: Performance of Templates: time 0.04449/0.4795, allocations: 35.55 MB / 495.4 MB, free: 70.19 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.7273528086952865]