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.0009254/0.0009254, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009047/0.0009047, allocations: 169 kB / 24.91 MB, free: 9.191 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.9274/0.9274, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.462e-06/1.462e-06, allocations: 0 / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.174e-05, allocations: 2.312 kB / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.005608/0.005619, allocations: 6.817 MB / 280.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.009738, allocations: 3.172 MB / 283.5 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/0.0101, allocations: 39.81 kB / 283.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009923/0.01109, allocations: 0.8286 MB / 284.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.01271, allocations: 1.357 MB / 285.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.01332, allocations: 0.5221 MB / 286.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.01524, allocations: 2.916 MB / 289.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.01657, allocations: 1.323 MB / 290.5 MB, free: 172 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09248/0.1091, allocations: 1.187 MB / 291.7 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.1107, allocations: 1.209 MB / 292.9 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.111, allocations: 136.2 kB / 293 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.1124, allocations: 0.8389 MB / 293.8 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00086/0.1133, allocations: 1.053 MB / 294.9 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009353/0.1142, allocations: 0.6287 MB / 295.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.1177, allocations: 2.728 MB / 298.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1177, allocations: 6.891 kB / 298.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1177, allocations: 1.062 kB / 298.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.1178, allocations: 0.8125 kB / 298.3 MB, free: 15.55 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.004405/0.1222, allocations: 2.614 MB / 300.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1223, allocations: 9.375 kB / 300.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.1245, allocations: 0.7903 MB / 301.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.1258, allocations: 0.9808 MB / 302.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.1258, allocations: 114.5 kB / 302.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.126, allocations: 163.4 kB / 302.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.1291, allocations: 3.098 MB / 306 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.764e-05/0.1291, allocations: 33.17 kB / 306.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.1293, allocations: 80.03 kB / 306.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009912/0.1302, allocations: 1.209 MB / 307.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.1327, allocations: 1.607 MB / 309 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.1464, allocations: 21.09 MB / 330 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.1479, allocations: 0.7486 MB / 330.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.1481, allocations: 167.5 kB / 331 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002719/0.1508, allocations: 1.773 MB / 332.7 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1509, allocations: 45.97 kB / 332.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.735e-06/0.1509, allocations: 0 / 332.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.003756/0.1546, allocations: 1.693 MB / 334.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.1547, allocations: 140.5 kB / 334.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.1566, allocations: 2.262 MB / 336.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.1566, allocations: 37.7 kB / 336.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008636/0.1575, allocations: 2.146 MB / 339.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.1577, allocations: 342 kB / 339.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009098/0.1586, allocations: 0.8193 MB / 340.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.1587, allocations: 353.6 kB / 340.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/0.1595, allocations: 0.4986 MB / 341 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.1613, allocations: 3.322 MB / 344.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/0.1643, allocations: 4.211 MB / 348.6 MB, free: 2.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/0.1643, allocations: 34.69 kB / 348.6 MB, free: 2.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003157/0.1675, allocations: 2.974 MB / 351.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.1675, allocations: 55.98 kB / 351.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-05/0.1676, allocations: 104 kB / 351.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.1679, allocations: 175.1 kB / 351.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.1697, allocations: 1.006 MB / 352.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009979/0.1707, allocations: 1.451 MB / 354.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.1722, allocations: 199.7 kB / 354.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.1724, allocations: 240 kB / 354.8 MB, free: 12.46 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.0008183/0.1732, allocations: 494.3 kB / 355.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.1734, allocations: 119.8 kB / 355.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/0.1738, allocations: 343.3 kB / 355.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.1738, allocations: 10.97 kB / 355.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1738, allocations: 4 kB / 355.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1738, allocations: 3.984 kB / 355.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.1761, allocations: 1.922 MB / 357.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1761, allocations: 6.75 kB / 357.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.1764, allocations: 79.91 kB / 357.8 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.1765, allocations: 47.78 kB / 357.8 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.1765, allocations: 19.94 kB / 357.8 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008481/0.1774, allocations: 1.383 MB / 359.2 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1774, allocations: 4 kB / 359.2 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/0.1783, allocations: 1.044 MB / 360.3 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.1785, allocations: 190.4 kB / 360.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.1786, allocations: 23.92 kB / 360.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.179, allocations: 11.98 kB / 360.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.179, allocations: 39.94 kB / 360.5 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.1791, allocations: 12 kB / 360.5 MB, free: 6.613 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006486/0.1797, allocations: 0.7789 MB / 361.3 MB, free: 5.816 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1797, allocations: 0 / 361.3 MB, free: 5.816 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002046/0.1817, allocations: 0.6131 MB / 361.9 MB, free: 5.203 MB / 314.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.0002888/0.182, allocations: 132.2 kB / 362.1 MB, free: 5.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.1838, allocations: 1.703 MB / 363.8 MB, free: 3.359 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.234e-05/0.1839, allocations: 55.94 kB / 363.8 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.1841, allocations: 281.3 kB / 364.1 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/0.1851, allocations: 352.7 kB / 364.4 MB, free: 2.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.19, allocations: 4.182 MB / 368.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.1905, allocations: 0.7002 MB / 369.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006607/0.1912, allocations: 324.8 kB / 369.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/0.1915, allocations: 353.2 kB / 370 MB, free: 13 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1915, allocations: 0 / 370 MB, free: 13 MB / 330.7 MB Notification: Performance of Templates: time 0.02949/0.221, allocations: 15.62 MB / 385.6 MB, free: 13.54 MB / 346.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 -s gbode -gbm=radauIIA3 -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.113499845843762]