Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009588/0.0009588, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.002167, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001834/0.0033, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9823/0.9823, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08042/1.063, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.526e-05, allocations: 5.406 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008904/0.008919, allocations: 6.872 MB / 252.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006194/0.01511, allocations: 3.219 MB / 255.3 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.01576, allocations: 35.88 kB / 255.3 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.01729, allocations: 0.8169 MB / 256.1 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.01989, allocations: 1.346 MB / 257.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008761/0.02076, allocations: 498.7 kB / 258 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002956/0.02372, allocations: 2.828 MB / 260.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.02523, allocations: 1.175 MB / 262 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.02679, allocations: 1.266 MB / 263.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.0284, allocations: 1.2 MB / 264.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.02867, allocations: 136 kB / 264.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.0299, allocations: 0.8266 MB / 265.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007446/0.03065, allocations: 0.9622 MB / 266.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005866/0.03124, allocations: 0.5138 MB / 266.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002834/0.03407, allocations: 2.517 MB / 269.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.03408, allocations: 0 / 269.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.03408, allocations: 0 / 269.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.784e-05/0.03415, allocations: 0 / 269.4 MB, free: 5.289 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004062/0.03821, allocations: 3.18 MB / 272.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.03825, allocations: 12.61 kB / 272.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.04119, allocations: 0.7927 MB / 273.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.04259, allocations: 0.9814 MB / 274.4 MB, free: 240 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/0.04267, allocations: 115.2 kB / 274.5 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1077/0.1504, allocations: 155.6 kB / 274.6 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/0.1542, allocations: 3.093 MB / 277.7 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.043e-05/0.1542, allocations: 35.06 kB / 277.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.1544, allocations: 78.14 kB / 277.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001286/0.1557, allocations: 1.125 MB / 279 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/0.159, allocations: 1.618 MB / 280.6 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.1702, allocations: 21.09 MB / 301.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1714, allocations: 0.7333 MB / 302.4 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.1716, allocations: 164.9 kB / 302.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/0.1734, allocations: 1.76 MB / 304.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1734, allocations: 48.06 kB / 304.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 1.833e-06/0.1734, allocations: 0 / 304.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.003229/0.1766, allocations: 1.678 MB / 306 MB, free: 15.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.1767, allocations: 135.5 kB / 306.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.1781, allocations: 2.261 MB / 308.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1782, allocations: 33.7 kB / 308.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008603/0.179, allocations: 2.144 MB / 310.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.1792, allocations: 347.5 kB / 311 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/0.1798, allocations: 0.8279 MB / 311.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.18, allocations: 349.8 kB / 312.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.1806, allocations: 0.4947 MB / 312.6 MB, free: 9.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.1827, allocations: 3.311 MB / 315.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003592/0.1863, allocations: 4.565 MB / 320.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.261e-05/0.1863, allocations: 32 kB / 320.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002977/0.1893, allocations: 2.984 MB / 323.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.1893, allocations: 48 kB / 323.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-05/0.1894, allocations: 112 kB / 323.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.1897, allocations: 179.6 kB / 323.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.1912, allocations: 1.065 MB / 324.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.1922, allocations: 1.445 MB / 326.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.1935, allocations: 211.8 kB / 326.6 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.1937, allocations: 240 kB / 326.8 MB, free: 8.496 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 18 (world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (536): * Single equations (assignments): 532 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005042/0.1942, allocations: 488.2 kB / 327.3 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.1943, allocations: 131.7 kB / 327.4 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.1947, allocations: 343.7 kB / 327.7 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.1947, allocations: 4 kB / 327.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1947, allocations: 8 kB / 327.7 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1947, allocations: 3.984 kB / 327.8 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.1968, allocations: 1.907 MB / 329.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.1968, allocations: 16.09 kB / 329.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.197, allocations: 95.91 kB / 329.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.1972, allocations: 194.4 kB / 330 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.1973, allocations: 43.58 kB / 330 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.1974, allocations: 12 kB / 330 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007886/0.1982, allocations: 1.386 MB / 331.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1982, allocations: 0 / 331.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007539/0.1989, allocations: 1.041 MB / 332.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.199, allocations: 15.98 kB / 332.5 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.1994, allocations: 12 kB / 332.5 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.1994, allocations: 39.88 kB / 332.5 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.1995, allocations: 16.06 kB / 332.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007949/0.2002, allocations: 0.7829 MB / 333.3 MB, free: 1.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2002, allocations: 3.938 kB / 333.3 MB, free: 1.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001653/0.2019, allocations: 0.6015 MB / 333.9 MB, free: 1.133 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (51): * Single equations (assignments): 47 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002576/0.2022, allocations: 139.5 kB / 334 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.2038, allocations: 1.791 MB / 335.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001017/0.2039, allocations: 63.92 kB / 335.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.2042, allocations: 317.7 kB / 336.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.2055, allocations: 1.617 MB / 337.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006468/0.212, allocations: 4.256 MB / 342.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.2125, allocations: 0.7047 MB / 342.8 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000623/0.2131, allocations: 320.9 kB / 343.1 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.2135, allocations: 333.3 kB / 343.4 MB, free: 7.379 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2135, allocations: 0 / 343.4 MB, free: 7.379 MB / 314.7 MB Notification: Performance of Templates: time 0.02263/0.2361, allocations: 14.26 MB / 357.7 MB, free: 9.219 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.906609802506864]