Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001342/0.001342, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001059/0.001059, allocations: 171.5 kB / 25.61 MB, free: 8.57 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9241/0.9241, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.381e-05, allocations: 6.25 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.005794/0.005818, allocations: 6.763 MB / 281 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.01019, allocations: 3.079 MB / 284 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007031/0.01089, allocations: 35.81 kB / 284.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.01219, allocations: 0.8248 MB / 284.9 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.01451, allocations: 1.377 MB / 286.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.01532, allocations: 0.5338 MB / 286.8 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.01786, allocations: 2.921 MB / 289.7 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.01912, allocations: 1.379 MB / 291.1 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.02035, allocations: 1.224 MB / 292.3 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.0218, allocations: 1.274 MB / 293.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.02203, allocations: 143.9 kB / 293.8 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.02317, allocations: 0.7994 MB / 294.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.02381, allocations: 1.063 MB / 295.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000497/0.02431, allocations: 0.6266 MB / 296.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.02661, allocations: 2.72 MB / 299 MB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.02661, allocations: 0 / 299 MB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.02661, allocations: 4 kB / 299 MB, free: 11.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.859e-05/0.02664, allocations: 0 / 299 MB, free: 11.54 MB / 282.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.003369/0.03001, allocations: 3.046 MB / 302 MB, free: 8.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.03005, allocations: 8.031 kB / 302 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.0327, allocations: 1.072 MB / 303.1 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.03392, allocations: 1.07 MB / 304.2 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.03399, allocations: 115.2 kB / 304.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.03419, allocations: 159.8 kB / 304.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.03799, allocations: 3.544 MB / 308 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/0.03804, allocations: 31.7 kB / 308 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.0382, allocations: 75.89 kB / 308.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001078/0.03928, allocations: 1.207 MB / 309.3 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.04173, allocations: 1.59 MB / 310.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.06007, allocations: 29.65 MB / 340.5 MB, free: 104 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.06166, allocations: 0.7106 MB / 341.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.06191, allocations: 220.4 kB / 341.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002433/0.06435, allocations: 2.055 MB / 343.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.06438, allocations: 41.39 kB / 343.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 2.725e-06/0.06438, allocations: 0 / 343.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.004384/0.06876, allocations: 1.893 MB / 345.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.06882, allocations: 140.5 kB / 345.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.07085, allocations: 2.549 MB / 348.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.07088, allocations: 37.7 kB / 348.2 MB, free: 8.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.07195, allocations: 2.383 MB / 350.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.07217, allocations: 365.5 kB / 350.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009854/0.07316, allocations: 0.9639 MB / 351.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.07332, allocations: 0.5393 MB / 352.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.07383, allocations: 352.3 kB / 352.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1277/0.2016, allocations: 4.729 MB / 357.5 MB, free: 73.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/0.2051, allocations: 5.6 MB / 363.1 MB, free: 67.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.2052, allocations: 30.41 kB / 363.1 MB, free: 67.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.005145/0.2104, allocations: 3.472 MB / 366.6 MB, free: 67.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.2104, allocations: 58.92 kB / 366.6 MB, free: 67.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.971e-05/0.2105, allocations: 105.3 kB / 366.7 MB, free: 67.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/0.2109, allocations: 175.2 kB / 366.9 MB, free: 67.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.2124, allocations: 0.9701 MB / 367.9 MB, free: 67.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009194/0.2133, allocations: 1.978 MB / 369.9 MB, free: 65.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.215, allocations: 198.5 kB / 370.1 MB, free: 65.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.2152, allocations: 243.8 kB / 370.3 MB, free: 65.26 MB / 330.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.0006352/0.2159, allocations: 0.5162 MB / 370.8 MB, free: 65.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.2161, allocations: 229 kB / 371 MB, free: 65.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.2166, allocations: 381.2 kB / 371.4 MB, free: 64.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.2166, allocations: 7.781 kB / 371.4 MB, free: 64.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2166, allocations: 3.312 kB / 371.4 MB, free: 64.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2166, allocations: 6.719 kB / 371.4 MB, free: 64.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.2192, allocations: 2.245 MB / 373.7 MB, free: 64.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2192, allocations: 3.688 kB / 373.7 MB, free: 64.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.2194, allocations: 79.72 kB / 373.7 MB, free: 64.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.2195, allocations: 43.86 kB / 373.8 MB, free: 64.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.2196, allocations: 14.94 kB / 373.8 MB, free: 64.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006097/0.2202, allocations: 1.783 MB / 375.6 MB, free: 62.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2202, allocations: 0 / 375.6 MB, free: 62.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008469/0.221, allocations: 1.221 MB / 376.8 MB, free: 62.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.2212, allocations: 200.3 kB / 377 MB, free: 61.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.2213, allocations: 11.23 kB / 377 MB, free: 61.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.2217, allocations: 16.97 kB / 377 MB, free: 61.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.2218, allocations: 42.62 kB / 377.1 MB, free: 61.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.2218, allocations: 19.66 kB / 377.1 MB, free: 61.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006878/0.2225, allocations: 1.003 MB / 378.1 MB, free: 61.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2225, allocations: 0 / 378.1 MB, free: 61.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002285/0.2248, allocations: 0.6056 MB / 378.7 MB, free: 61.71 MB / 330.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.0002641/0.225, allocations: 163.6 kB / 378.9 MB, free: 61.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.2272, allocations: 1.864 MB / 380.7 MB, free: 60.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2272, allocations: 0 / 380.7 MB, free: 60.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.2275, allocations: 375.9 kB / 381.1 MB, free: 60.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008336/0.2283, allocations: 223.1 kB / 381.3 MB, free: 59.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.233, allocations: 4.215 MB / 385.5 MB, free: 56.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.2335, allocations: 0.7177 MB / 386.2 MB, free: 55.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006865/0.2342, allocations: 319.5 kB / 386.6 MB, free: 55.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.2345, allocations: 375.1 kB / 386.9 MB, free: 55.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2345, allocations: 4 kB / 386.9 MB, free: 55.04 MB / 330.7 MB Notification: Performance of Templates: time 0.0228/0.2573, allocations: 16.04 MB / 403 MB, free: 40.1 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6220853412523866]