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.001352/0.001352, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.00158/0.00158, allocations: 168.1 kB / 25.7 MB, free: 8.434 MB / 18.57 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.8734/0.8734, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.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.533e-06/1.533e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.533e-05, allocations: 6.25 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.005744/0.00576, allocations: 6.863 MB / 258.4 MB, free: 328 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.01082, allocations: 3.162 MB / 261.6 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.01152, allocations: 35.81 kB / 261.6 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.01275, allocations: 0.8247 MB / 262.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.01519, allocations: 1.377 MB / 263.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.01618, allocations: 0.5455 MB / 264.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00243/0.01861, allocations: 2.87 MB / 267.3 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.02031, allocations: 1.323 MB / 268.6 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.02155, allocations: 1.2 MB / 269.8 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.02289, allocations: 1.227 MB / 271 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.02316, allocations: 136 kB / 271.1 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.02424, allocations: 0.8422 MB / 272 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006478/0.02489, allocations: 1.075 MB / 273.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.02537, allocations: 0.6461 MB / 273.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.02785, allocations: 2.778 MB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.02785, allocations: 4 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02785, allocations: 0 / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.903e-05/0.02788, allocations: 0 / 276.5 MB, free: 14.2 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.00244/0.03032, allocations: 2.633 MB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.03036, allocations: 11.98 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.03242, allocations: 0.7967 MB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009969/0.03341, allocations: 1.005 MB / 280.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.03348, allocations: 123.2 kB / 281.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.03366, allocations: 155.8 kB / 281.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.03661, allocations: 3.108 MB / 284.3 MB, free: 5.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.03665, allocations: 27.75 kB / 284.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.03679, allocations: 75.89 kB / 284.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009754/0.03777, allocations: 1.211 MB / 285.6 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.03991, allocations: 1.619 MB / 287.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.05338, allocations: 21.1 MB / 308.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.0548, allocations: 0.7458 MB / 309.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.055, allocations: 163.4 kB / 309.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/0.05727, allocations: 1.774 MB / 311 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.05729, allocations: 42.5 kB / 311.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 2.755e-06/0.05729, allocations: 4 kB / 311.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.003317/0.06061, allocations: 1.698 MB / 312.8 MB, free: 8.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.06066, allocations: 140.5 kB / 312.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.06214, allocations: 2.271 MB / 315.2 MB, free: 5.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.06217, allocations: 37.64 kB / 315.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007848/0.06296, allocations: 2.155 MB / 317.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.06313, allocations: 345.5 kB / 317.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008183/0.06395, allocations: 0.8184 MB / 318.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.06406, allocations: 353.8 kB / 318.9 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.06474, allocations: 0.4986 MB / 319.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.06667, allocations: 3.313 MB / 322.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.06987, allocations: 4.231 MB / 326.9 MB, free: 7.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-05/0.06991, allocations: 32 kB / 326.9 MB, free: 7.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003116/0.07302, allocations: 2.973 MB / 329.9 MB, free: 4.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.07307, allocations: 52.97 kB / 330 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.118e-05/0.07313, allocations: 104 kB / 330.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.07336, allocations: 179.6 kB / 330.2 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.07481, allocations: 1.002 MB / 331.2 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008908/0.07571, allocations: 1.444 MB / 332.7 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.07695, allocations: 207.8 kB / 332.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.07715, allocations: 248 kB / 333.1 MB, free: 0.7305 MB / 314.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.0005421/0.0777, allocations: 492.2 kB / 333.6 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.07787, allocations: 115.9 kB / 333.7 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.07827, allocations: 348.4 kB / 334.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.07828, allocations: 12 kB / 334.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.07829, allocations: 4 kB / 334.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.07829, allocations: 3.938 kB / 334.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.08043, allocations: 1.924 MB / 336 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.08044, allocations: 7.938 kB / 336 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.08066, allocations: 84.06 kB / 336.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.08078, allocations: 39.64 kB / 336.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.0808, allocations: 15.98 kB / 336.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.08195, allocations: 1.385 MB / 337.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.08196, allocations: 7.938 kB / 337.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.08273, allocations: 1.035 MB / 338.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.08299, allocations: 250.3 kB / 338.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.08311, allocations: 12 kB / 338.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.08345, allocations: 11.98 kB / 338.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.08352, allocations: 47.86 kB / 338.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.08355, allocations: 16 kB / 338.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006392/0.08419, allocations: 0.7834 MB / 339.7 MB, free: 9.906 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08419, allocations: 4 kB / 339.7 MB, free: 9.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001783/0.08597, allocations: 0.6288 MB / 340.3 MB, free: 9.273 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.0002517/0.08622, allocations: 144.1 kB / 340.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.08776, allocations: 1.692 MB / 342.2 MB, free: 7.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.649e-05/0.08785, allocations: 55.94 kB / 342.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.08811, allocations: 288.9 kB / 342.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008563/0.08897, allocations: 337.2 kB / 342.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.09329, allocations: 4.219 MB / 347 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.09383, allocations: 0.7164 MB / 347.8 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006424/0.09447, allocations: 328.9 kB / 348.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.09485, allocations: 341.3 kB / 348.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of SimCode: time 1.173e-06/0.09485, allocations: 0 / 348.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of Templates: time 0.1191/0.2139, allocations: 15.94 MB / 364.4 MB, free: 88.48 MB / 330.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 -s gbode -gbm=radauIIA3 -emit_protected -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.2168501843698323]