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.001265/0.001265, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002248/0.003513, allocations: 453.8 kB / 10.46 MB, free: 236 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.001292/0.001292, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.002987, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9878/0.9878, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1517/1.14, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.323e-06/1.323e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.94e-05, allocations: 2.312 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.005726/0.005745, allocations: 6.914 MB / 228.9 MB, free: 9.109 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.0106, allocations: 3.177 MB / 232.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006141/0.01121, allocations: 39.81 kB / 232.1 MB, free: 5.883 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.01228, allocations: 0.817 MB / 232.9 MB, free: 5.062 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.01429, allocations: 1.377 MB / 234.3 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.01503, allocations: 498.7 kB / 234.8 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.01727, allocations: 2.749 MB / 237.6 MB, free: 448 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.01861, allocations: 1.187 MB / 238.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.01983, allocations: 1.285 MB / 240 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.02112, allocations: 1.204 MB / 241.2 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.02129, allocations: 136 kB / 241.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.02261, allocations: 0.8423 MB / 242.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005798/0.02319, allocations: 0.9778 MB / 243.2 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.02364, allocations: 0.5294 MB / 243.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.02606, allocations: 2.564 MB / 246.3 MB, free: 7.672 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.02607, allocations: 0 / 246.3 MB, free: 7.672 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.02607, allocations: 0 / 246.3 MB, free: 7.672 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.356e-05/0.02611, allocations: 0 / 246.3 MB, free: 7.672 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.003033/0.02914, allocations: 3.207 MB / 249.5 MB, free: 4.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.02917, allocations: 8.031 kB / 249.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.03117, allocations: 0.7888 MB / 250.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.03229, allocations: 1.005 MB / 251.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/0.03235, allocations: 115.2 kB / 251.4 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.03255, allocations: 155.8 kB / 251.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.03567, allocations: 3.112 MB / 254.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/0.03573, allocations: 27.75 kB / 254.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.03588, allocations: 79.89 kB / 254.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001037/0.03691, allocations: 1.129 MB / 255.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.03938, allocations: 1.619 MB / 257.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/0.05405, allocations: 21.09 MB / 278.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.05549, allocations: 0.7379 MB / 279.3 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.0557, allocations: 159.4 kB / 279.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002428/0.05813, allocations: 1.778 MB / 281.3 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.05816, allocations: 42.5 kB / 281.3 MB, free: 3.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.695e-06/0.05817, allocations: 0 / 281.3 MB, free: 3.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.00391/0.06208, allocations: 1.693 MB / 283 MB, free: 1.305 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.06213, allocations: 140.5 kB / 283.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.125/0.1871, allocations: 2.266 MB / 285.4 MB, free: 47.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.1873, allocations: 35.77 kB / 285.4 MB, free: 47.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.1885, allocations: 2.147 MB / 287.6 MB, free: 46.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/0.189, allocations: 343.2 kB / 287.9 MB, free: 46.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008727/0.1898, allocations: 0.8162 MB / 288.7 MB, free: 46.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1899, allocations: 355.5 kB / 289.1 MB, free: 45.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/0.1909, allocations: 0.4943 MB / 289.6 MB, free: 45.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.1929, allocations: 3.322 MB / 292.9 MB, free: 42.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/0.1967, allocations: 4.565 MB / 297.5 MB, free: 38.13 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.836e-05/0.1968, allocations: 30.17 kB / 297.5 MB, free: 38.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003968/0.2007, allocations: 2.974 MB / 300.5 MB, free: 37.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.832e-05/0.2008, allocations: 50.34 kB / 300.5 MB, free: 37.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/0.201, allocations: 112.1 kB / 300.6 MB, free: 37.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003983/0.2014, allocations: 182.1 kB / 300.8 MB, free: 37.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.203, allocations: 1.067 MB / 301.9 MB, free: 37.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009366/0.2039, allocations: 1.459 MB / 303.3 MB, free: 35.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.2062, allocations: 201.1 kB / 303.5 MB, free: 35.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.2064, allocations: 242.8 kB / 303.8 MB, free: 35.95 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.0006833/0.2071, allocations: 485.2 kB / 304.2 MB, free: 35.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.2073, allocations: 126.3 kB / 304.4 MB, free: 35.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.2077, allocations: 350.4 kB / 304.7 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2077, allocations: 11.14 kB / 304.7 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2077, allocations: 4.531 kB / 304.7 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2077, allocations: 2.031 kB / 304.7 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.2101, allocations: 1.911 MB / 306.6 MB, free: 35.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.2102, allocations: 7.406 kB / 306.6 MB, free: 35.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.2104, allocations: 91.22 kB / 306.7 MB, free: 35.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.2106, allocations: 250 kB / 307 MB, free: 34.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.2108, allocations: 45.8 kB / 307 MB, free: 34.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.2108, allocations: 11.84 kB / 307 MB, free: 34.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007385/0.2115, allocations: 1.4 MB / 308.4 MB, free: 33.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2115, allocations: 0 / 308.4 MB, free: 33.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.2123, allocations: 1.032 MB / 309.5 MB, free: 33.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.2124, allocations: 22.44 kB / 309.5 MB, free: 33.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.2127, allocations: 9.938 kB / 309.5 MB, free: 33.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.2128, allocations: 47.52 kB / 309.5 MB, free: 33.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2128, allocations: 20.83 kB / 309.6 MB, free: 33.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006741/0.2135, allocations: 0.7831 MB / 310.3 MB, free: 33.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2135, allocations: 0 / 310.3 MB, free: 33.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002483/0.216, allocations: 0.6295 MB / 311 MB, free: 33.04 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.0003046/0.2163, allocations: 148.7 kB / 311.1 MB, free: 32.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.2183, allocations: 1.781 MB / 312.9 MB, free: 32.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.341e-05/0.2184, allocations: 63.94 kB / 313 MB, free: 32.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.2187, allocations: 312.5 kB / 313.3 MB, free: 31.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.22, allocations: 1.629 MB / 314.9 MB, free: 30.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/0.226, allocations: 4.283 MB / 319.2 MB, free: 26.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.2265, allocations: 0.7075 MB / 319.9 MB, free: 25.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006551/0.2272, allocations: 325.5 kB / 320.2 MB, free: 25.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.2275, allocations: 339.8 kB / 320.5 MB, free: 25.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2275, allocations: 8 kB / 320.5 MB, free: 25.17 MB / 282.7 MB Notification: Performance of Templates: time 0.02257/0.25, allocations: 14.58 MB / 335.1 MB, free: 10.64 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.08858235552907]