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.0007868/0.0007868, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001818, allocations: 449.8 kB / 10.44 MB, free: 252 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.001117/0.001117, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002383, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.034/1.034, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08803/1.122, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.433e-06/1.433e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.117e-05, allocations: 5.688 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008224/0.008245, allocations: 6.876 MB / 251.6 MB, free: 7.305 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006321/0.01457, allocations: 3.208 MB / 254.8 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008669/0.01543, allocations: 39.81 kB / 254.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.01692, allocations: 0.8208 MB / 255.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.0197, allocations: 1.349 MB / 257 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.0208, allocations: 0.4949 MB / 257.5 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003284/0.02409, allocations: 2.824 MB / 260.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.02593, allocations: 1.171 MB / 261.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.02762, allocations: 1.266 MB / 262.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.02925, allocations: 1.196 MB / 264 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.02954, allocations: 136 kB / 264.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.03102, allocations: 0.8344 MB / 264.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000826/0.03184, allocations: 0.9544 MB / 265.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006576/0.0325, allocations: 0.5138 MB / 266.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002908/0.03541, allocations: 2.521 MB / 268.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.03542, allocations: 0 / 268.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03542, allocations: 0 / 268.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.728e-05/0.0355, allocations: 0 / 268.9 MB, free: 5.91 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.00355/0.03905, allocations: 3.188 MB / 272.1 MB, free: 2.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.03908, allocations: 8.031 kB / 272.1 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.04116, allocations: 0.7888 MB / 272.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.04235, allocations: 0.9814 MB / 273.9 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.04241, allocations: 119.2 kB / 274 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.04261, allocations: 151.8 kB / 274.1 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1173/0.1599, allocations: 3.093 MB / 277.2 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.274e-05/0.16, allocations: 33.75 kB / 277.3 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.1602, allocations: 77.5 kB / 277.3 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/0.1614, allocations: 1.129 MB / 278.5 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/0.1647, allocations: 1.608 MB / 280.1 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.1781, allocations: 21.08 MB / 301.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.1794, allocations: 0.7361 MB / 301.9 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.1796, allocations: 169.1 kB / 302.1 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/0.1816, allocations: 1.759 MB / 303.8 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1816, allocations: 47.97 kB / 303.9 MB, free: 156 kB / 266.7 MB Notification: Performance of pre-optimization done (n=74): time 3.637e-06/0.1816, allocations: 0 / 303.9 MB, free: 156 kB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003403/0.185, allocations: 1.682 MB / 305.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003074/0.1853, allocations: 135.6 kB / 305.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.1869, allocations: 2.26 MB / 307.9 MB, free: 14.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1869, allocations: 39.83 kB / 308 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008624/0.1878, allocations: 2.145 MB / 310.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.188, allocations: 340 kB / 310.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005798/0.1886, allocations: 0.8271 MB / 311.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.1887, allocations: 349.8 kB / 311.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006856/0.1894, allocations: 0.5025 MB / 312.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.1915, allocations: 3.307 MB / 315.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/0.195, allocations: 4.566 MB / 320 MB, free: 15.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.602e-05/0.195, allocations: 28 kB / 320 MB, free: 15.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003494/0.1985, allocations: 2.981 MB / 323 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.1986, allocations: 48 kB / 323.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.1987, allocations: 114.1 kB / 323.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.199, allocations: 175.6 kB / 323.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.2007, allocations: 1.072 MB / 324.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.2019, allocations: 1.448 MB / 325.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.2037, allocations: 207.8 kB / 326.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.2039, allocations: 240 kB / 326.3 MB, free: 9.523 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.0008174/0.2047, allocations: 480.1 kB / 326.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.2049, allocations: 131.8 kB / 326.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.2057, allocations: 345 kB / 327.2 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.2057, allocations: 4 kB / 327.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2057, allocations: 8 kB / 327.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2057, allocations: 5.078 kB / 327.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.2082, allocations: 1.913 MB / 329.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.2082, allocations: 8.156 kB / 329.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.2085, allocations: 99.84 kB / 329.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.2087, allocations: 186.5 kB / 329.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.2088, allocations: 39.64 kB / 329.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.2088, allocations: 15.94 kB / 329.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008677/0.2097, allocations: 1.395 MB / 330.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2097, allocations: 0 / 330.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008313/0.2105, allocations: 1.036 MB / 331.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.2107, allocations: 19.98 kB / 332 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.211, allocations: 8 kB / 332 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.2111, allocations: 43.88 kB / 332 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.2111, allocations: 12 kB / 332 MB, free: 3.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006815/0.2118, allocations: 0.7829 MB / 332.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2118, allocations: 0 / 332.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00194/0.2137, allocations: 0.6093 MB / 333.4 MB, free: 2.16 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.0002876/0.214, allocations: 143 kB / 333.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.2162, allocations: 1.782 MB / 335.3 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001013/0.2163, allocations: 60.88 kB / 335.4 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.2166, allocations: 327.6 kB / 335.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.2181, allocations: 1.62 MB / 337.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00683/0.2249, allocations: 4.258 MB / 341.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.2254, allocations: 0.7086 MB / 342.3 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006719/0.2261, allocations: 320.8 kB / 342.6 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.2265, allocations: 333.3 kB / 342.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2265, allocations: 4 kB / 342.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of Templates: time 0.02386/0.2503, allocations: 14.25 MB / 357.2 MB, free: 10.23 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.985715139657259]