Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.002655, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.002363, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8189/0.8189, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1613/0.9802, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.289e-05, allocations: 10.25 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008837/0.00886, allocations: 6.906 MB / 228.7 MB, free: 9.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007097/0.01596, allocations: 3.177 MB / 231.9 MB, free: 6.039 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.01733, allocations: 35.81 kB / 232 MB, free: 6.004 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.01858, allocations: 0.8209 MB / 232.8 MB, free: 5.18 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.02133, allocations: 1.381 MB / 234.2 MB, free: 3.793 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009485/0.02228, allocations: 494.8 kB / 234.6 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003211/0.02549, allocations: 2.762 MB / 237.4 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.02709, allocations: 1.187 MB / 238.6 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.02856, allocations: 1.281 MB / 239.9 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.0298, allocations: 1.216 MB / 241.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002307/0.03003, allocations: 136 kB / 241.2 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.03149, allocations: 0.8384 MB / 242.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006287/0.03212, allocations: 0.9778 MB / 243 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.03265, allocations: 0.5333 MB / 243.6 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.03524, allocations: 2.56 MB / 246.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.03526, allocations: 0 / 246.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.03526, allocations: 0 / 246.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.243e-05/0.03532, allocations: 4 kB / 246.1 MB, free: 7.773 MB / 250.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.003885/0.03921, allocations: 3.203 MB / 249.3 MB, free: 4.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.03924, allocations: 12.03 kB / 249.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.04136, allocations: 0.7849 MB / 250.1 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.0426, allocations: 1.013 MB / 251.1 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/0.04267, allocations: 115.2 kB / 251.3 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.04287, allocations: 155.8 kB / 251.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/0.04593, allocations: 3.112 MB / 254.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.04598, allocations: 27.75 kB / 254.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.04613, allocations: 79.89 kB / 254.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001335/0.04746, allocations: 1.215 MB / 255.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.05007, allocations: 1.611 MB / 257.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.06668, allocations: 21.09 MB / 278.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.06815, allocations: 0.7263 MB / 279.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.06847, allocations: 167.4 kB / 279.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00261/0.07108, allocations: 1.77 MB / 281.2 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.07111, allocations: 42.56 kB / 281.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.425e-06/0.07111, allocations: 0 / 281.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.003551/0.07466, allocations: 1.678 MB / 282.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.07471, allocations: 148.4 kB / 283.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.105/0.1797, allocations: 2.266 MB / 285.3 MB, free: 47.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.1799, allocations: 35.77 kB / 285.4 MB, free: 47.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.1809, allocations: 2.142 MB / 287.5 MB, free: 46.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.1813, allocations: 348.4 kB / 287.8 MB, free: 46.26 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000701/0.182, allocations: 0.822 MB / 288.7 MB, free: 46.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.182, allocations: 354.3 kB / 289 MB, free: 45.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008566/0.1829, allocations: 0.4942 MB / 289.5 MB, free: 45.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.1845, allocations: 3.312 MB / 292.8 MB, free: 42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/0.1875, allocations: 4.225 MB / 297 MB, free: 38.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.132e-05/0.1876, allocations: 30.5 kB / 297.1 MB, free: 38.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003954/0.1915, allocations: 2.983 MB / 300.1 MB, free: 37.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/0.1916, allocations: 49.5 kB / 300.1 MB, free: 37.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/0.1917, allocations: 105.5 kB / 300.2 MB, free: 37.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/0.1921, allocations: 179.9 kB / 300.4 MB, free: 37.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.1937, allocations: 1.073 MB / 301.5 MB, free: 37.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008897/0.1946, allocations: 1.459 MB / 302.9 MB, free: 35.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.1967, allocations: 194.4 kB / 303.1 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/0.1969, allocations: 241 kB / 303.3 MB, free: 35.89 MB / 282.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.0006934/0.1976, allocations: 497.6 kB / 303.8 MB, free: 35.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.1979, allocations: 126.6 kB / 304 MB, free: 35.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.1983, allocations: 341 kB / 304.3 MB, free: 35.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.1983, allocations: 9.719 kB / 304.3 MB, free: 35.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1983, allocations: 3.969 kB / 304.3 MB, free: 35.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1983, allocations: 1.828 kB / 304.3 MB, free: 35.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.2006, allocations: 1.918 MB / 306.2 MB, free: 35.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.2006, allocations: 0 / 306.2 MB, free: 35.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.2008, allocations: 89.33 kB / 306.3 MB, free: 35.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.2011, allocations: 245.8 kB / 306.5 MB, free: 34.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.2013, allocations: 49.92 kB / 306.6 MB, free: 34.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.2013, allocations: 15.62 kB / 306.6 MB, free: 34.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006803/0.202, allocations: 1.388 MB / 308 MB, free: 33.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.202, allocations: 3.812 kB / 308 MB, free: 33.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.2027, allocations: 1.034 MB / 309 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.2028, allocations: 16.41 kB / 309.1 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.2032, allocations: 15.94 kB / 309.1 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.2032, allocations: 42.62 kB / 309.1 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.2033, allocations: 19.7 kB / 309.1 MB, free: 33.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005677/0.2038, allocations: 0.7849 MB / 309.9 MB, free: 32.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2038, allocations: 0 / 309.9 MB, free: 32.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002311/0.2062, allocations: 0.6332 MB / 310.5 MB, free: 32.97 MB / 282.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.0002847/0.2064, allocations: 141.3 kB / 310.7 MB, free: 32.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.2085, allocations: 1.697 MB / 312.4 MB, free: 32.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001041/0.2087, allocations: 59.94 kB / 312.4 MB, free: 32.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.2089, allocations: 282 kB / 312.7 MB, free: 32.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.21, allocations: 497.2 kB / 313.2 MB, free: 31.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/0.2162, allocations: 4.273 MB / 317.5 MB, free: 27.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.2168, allocations: 0.7137 MB / 318.2 MB, free: 27.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008042/0.2176, allocations: 329.1 kB / 318.5 MB, free: 27.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.2179, allocations: 346.4 kB / 318.8 MB, free: 26.81 MB / 282.7 MB Notification: Performance of SimCode: time 3.467e-06/0.2179, allocations: 3.938 kB / 318.9 MB, free: 26.81 MB / 282.7 MB Notification: Performance of Templates: time 0.02424/0.2422, allocations: 16.26 MB / 335.1 MB, free: 10.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.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.2409440325573087]