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.001502/0.001502, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001381/0.001381, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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 1.409/1.409, allocations: 225.6 MB / 250.8 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001503/0.001503, allocations: 47.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 52.13 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01452/0.2523, allocations: 12.01 MB / 432.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009745/0.2621, allocations: 4.387 MB / 437.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.2642, allocations: 83.69 kB / 437.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005784/0.27, allocations: 2.936 MB / 440.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005343/0.2753, allocations: 2.031 MB / 442.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.2778, allocations: 1.052 MB / 443.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008023/0.2858, allocations: 5.551 MB / 448.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004233/0.29, allocations: 2.836 MB / 451.8 MB, free: 56 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.2936, allocations: 1.733 MB / 453.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004277/0.2979, allocations: 2.492 MB / 456 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.299, allocations: 372 kB / 456.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.302, allocations: 1.283 MB / 457.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002886/0.3048, allocations: 2.181 MB / 459.8 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003829/0.3087, allocations: 2.393 MB / 462.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.319, allocations: 7.747 MB / 469.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.319, allocations: 3.984 kB / 469.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.319, allocations: 0 / 469.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002236/0.3193, allocations: 0 / 469.9 MB, free: 13.79 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01327/0.3325, allocations: 5.388 MB / 475.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3326, allocations: 15.97 kB / 475.4 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02593/0.3585, allocations: 3.196 MB / 478.5 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009075/0.3676, allocations: 3.619 MB / 482.2 MB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.3678, allocations: 242.2 kB / 482.4 MB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.369, allocations: 327.8 kB / 482.7 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/0.3863, allocations: 10.02 MB / 492.7 MB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.3864, allocations: 51.59 kB / 492.8 MB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004233/0.3869, allocations: 151.9 kB / 492.9 MB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003437/0.3903, allocations: 1.963 MB / 494.9 MB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.408, allocations: 8.582 MB / 0.4917 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05186/0.4599, allocations: 38.74 MB / 0.5295 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2092/0.6691, allocations: 3.813 MB / 0.5332 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003422/0.6725, allocations: 2.039 MB / 0.5352 GB, free: 107.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008498/0.6734, allocations: 0.6503 MB / 0.5359 GB, free: 106.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.6734, allocations: 50.34 kB / 0.5359 GB, free: 106.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.438e-06/0.6734, allocations: 0 / 0.5359 GB, free: 106.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.0531/0.7265, allocations: 22.81 MB / 0.5582 GB, free: 94.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/0.7266, allocations: 252.6 kB / 0.5584 GB, free: 94.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004642/0.7312, allocations: 4.189 MB / 0.5625 GB, free: 90.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004336/0.7317, allocations: 53.7 kB / 0.5626 GB, free: 90.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.733, allocations: 3.233 MB / 0.5657 GB, free: 87.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000695/0.7337, allocations: 0.8065 MB / 0.5665 GB, free: 86.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.735, allocations: 1.27 MB / 0.5678 GB, free: 85.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.7351, allocations: 301.1 kB / 0.568 GB, free: 84.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/0.7378, allocations: 2.496 MB / 0.5705 GB, free: 82.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003881/0.7417, allocations: 5.973 MB / 0.5763 GB, free: 74.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008381/0.7501, allocations: 9.068 MB / 0.5852 GB, free: 63.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.7502, allocations: 36 kB / 0.5852 GB, free: 63.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01837/0.7686, allocations: 10.53 MB / 0.5955 GB, free: 53.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.7687, allocations: 56 kB / 0.5955 GB, free: 53.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.963e-05/0.7688, allocations: 124 kB / 0.5957 GB, free: 53.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006761/0.7755, allocations: 2.599 MB / 0.5982 GB, free: 50.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/0.7795, allocations: 1.309 MB / 0.5995 GB, free: 49.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02002/0.7995, allocations: 18.64 MB / 0.6177 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004611/0.8041, allocations: 363.5 kB / 0.618 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009066/0.805, allocations: 360 kB / 0.6184 GB, free: 29.38 MB / 446.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.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 (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.003488/0.8085, allocations: 2.171 MB / 0.6205 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007743/0.8093, allocations: 385.4 kB / 0.6209 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007975/0.8173, allocations: 5.015 MB / 0.6258 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/0.8173, allocations: 23.44 kB / 0.6258 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.8173, allocations: 8 kB / 0.6258 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.8174, allocations: 11.91 kB / 0.6258 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.834, allocations: 10.77 MB / 0.6363 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.834, allocations: 4.062 kB / 0.6363 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.8353, allocations: 283.6 kB / 0.6366 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004535/0.8398, allocations: 1.842 MB / 0.6384 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002604/0.8401, allocations: 43.92 kB / 0.6384 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.8519, allocations: 10.41 MB / 0.6486 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.8519, allocations: 4.031 kB / 0.6486 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.8661, allocations: 8.154 MB / 0.6566 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.8673, allocations: 450.3 kB / 0.657 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005053/0.8678, allocations: 31.94 kB / 0.657 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.8694, allocations: 139.8 kB / 0.6572 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/0.8698, allocations: 117.1 kB / 0.6573 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/0.87, allocations: 52 kB / 0.6573 GB, free: 5.203 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004256/0.8743, allocations: 2.627 MB / 0.6599 GB, free: 2.566 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8743, allocations: 4 kB / 0.6599 GB, free: 2.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005074/0.8793, allocations: 1.176 MB / 0.661 GB, free: 1.387 MB / 462.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.0005016/0.8798, allocations: 170.1 kB / 0.6612 GB, free: 1.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01105/0.8909, allocations: 6.249 MB / 0.6673 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/0.8909, allocations: 0 / 0.6673 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003603/0.8945, allocations: 2.009 MB / 0.6693 GB, free: 8.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/0.8983, allocations: 0.5718 MB / 0.6698 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/0.9187, allocations: 10.62 MB / 0.6802 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004656/0.9233, allocations: 3.446 MB / 0.6836 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00456/0.9279, allocations: 1.88 MB / 0.6854 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008071/0.9287, allocations: 247.4 kB / 0.6856 GB, free: 8.094 MB / 494.1 MB Notification: Performance of SimCode: time 1.372e-06/0.9287, allocations: 0 / 0.6856 GB, free: 8.094 MB / 494.1 MB Notification: Performance of Templates: time 0.3394/1.268, allocations: 50.99 MB / 0.7354 GB, free: 168.7 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.8314152006059885]