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.001134/0.001134, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001834/0.001834, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.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.553e-06/1.553e-06, allocations: 0 / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.088e-05, allocations: 2.312 kB / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006636/0.006657, allocations: 6.756 MB / 280.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004738/0.0114, allocations: 3.084 MB / 283.2 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.01206, allocations: 39.81 kB / 283.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.01331, allocations: 0.8326 MB / 284.1 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.01552, allocations: 1.369 MB / 285.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.01642, allocations: 0.5299 MB / 286 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002743/0.01917, allocations: 2.909 MB / 288.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.0206, allocations: 1.391 MB / 290.3 MB, free: 276 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1214/0.142, allocations: 1.21 MB / 291.5 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.1442, allocations: 1.276 MB / 292.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005975/0.1448, allocations: 137 kB / 292.9 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.1465, allocations: 0.8108 MB / 293.7 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.1477, allocations: 1.054 MB / 294.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.1489, allocations: 0.6269 MB / 295.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.1537, allocations: 2.731 MB / 298.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1537, allocations: 1.125 kB / 298.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1537, allocations: 0 / 298.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.1538, allocations: 0.7812 kB / 298.2 MB, free: 15.52 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.005875/0.1597, allocations: 3.042 MB / 301.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1598, allocations: 9.281 kB / 301.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.1625, allocations: 1.074 MB / 302.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.164, allocations: 1.067 MB / 303.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.468e-05/0.1641, allocations: 114.9 kB / 303.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.1643, allocations: 156.7 kB / 303.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.1679, allocations: 3.547 MB / 307.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.181e-05/0.1679, allocations: 31.22 kB / 307.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.1681, allocations: 82.41 kB / 307.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009748/0.1691, allocations: 1.2 MB / 308.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.1717, allocations: 1.597 MB / 310.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/0.1899, allocations: 29.65 MB / 339.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.1918, allocations: 0.7033 MB / 340.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.192, allocations: 215.7 kB / 340.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002402/0.1944, allocations: 2.06 MB / 342.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1944, allocations: 48.77 kB / 342.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 3.417e-06/0.1944, allocations: 3.938 kB / 342.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.004018/0.1984, allocations: 1.898 MB / 344.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.1985, allocations: 139.8 kB / 344.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.2007, allocations: 2.556 MB / 347.3 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.2007, allocations: 37.7 kB / 347.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.202, allocations: 2.387 MB / 349.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.2022, allocations: 367.8 kB / 350.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007277/0.203, allocations: 0.9606 MB / 351.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2031, allocations: 0.533 MB / 351.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/0.2037, allocations: 352.3 kB / 352 MB, free: 1.766 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.2062, allocations: 4.73 MB / 356.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/0.2099, allocations: 5.594 MB / 362.3 MB, free: 3.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.699e-05/0.21, allocations: 28 kB / 362.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.004155/0.2141, allocations: 3.483 MB / 365.8 MB, free: 168 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.2142, allocations: 51.98 kB / 365.8 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.694e-05/0.2143, allocations: 104 kB / 366 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.2149, allocations: 175.6 kB / 366.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.2165, allocations: 0.963 MB / 367.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.2176, allocations: 1.975 MB / 369.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.2193, allocations: 203.7 kB / 369.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.2196, allocations: 244 kB / 369.5 MB, free: 12.34 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.0009627/0.2205, allocations: 0.5235 MB / 370 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.2208, allocations: 222.6 kB / 370.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.2213, allocations: 368.1 kB / 370.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.2213, allocations: 15.94 kB / 370.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2213, allocations: 0 / 370.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2213, allocations: 7.922 kB / 370.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.2245, allocations: 2.255 MB / 372.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2245, allocations: 4 kB / 372.9 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.2247, allocations: 75.91 kB / 373 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/0.2248, allocations: 43.64 kB / 373 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.2249, allocations: 11.98 kB / 373 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.226, allocations: 1.795 MB / 374.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.226, allocations: 3.938 kB / 374.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.227, allocations: 1.22 MB / 376 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.2272, allocations: 194.4 kB / 376.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2273, allocations: 16.05 kB / 376.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.2277, allocations: 16 kB / 376.2 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.2277, allocations: 43.81 kB / 376.3 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.2278, allocations: 20 kB / 376.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009103/0.2287, allocations: 1.001 MB / 377.3 MB, free: 4.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2287, allocations: 0 / 377.3 MB, free: 4.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002251/0.2309, allocations: 0.6092 MB / 377.9 MB, free: 3.625 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.0002808/0.2312, allocations: 151.7 kB / 378.1 MB, free: 3.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.2333, allocations: 1.873 MB / 379.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2333, allocations: 0 / 379.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.2336, allocations: 362.5 kB / 380.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.2348, allocations: 235 kB / 380.5 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/0.2402, allocations: 4.22 MB / 384.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.2408, allocations: 0.7119 MB / 385.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007868/0.2416, allocations: 320.9 kB / 385.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/0.242, allocations: 378.1 kB / 386.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.242, allocations: 0 / 386.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Templates: time 0.02591/0.2679, allocations: 15.69 MB / 401.8 MB, free: 11.74 MB / 362.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.401636016089469]