Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009037/0.0009037, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9297/0.9297, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 3.938 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.779e-05, allocations: 5.125 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.005605/0.005623, allocations: 6.817 MB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.01024, allocations: 3.18 MB / 283.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000667/0.0109, allocations: 35.88 kB / 283.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.01209, allocations: 0.8247 MB / 284.3 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.01413, allocations: 1.346 MB / 285.6 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.01486, allocations: 0.5377 MB / 286.2 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.01701, allocations: 2.922 MB / 289.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1002/0.1172, allocations: 1.308 MB / 290.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.1192, allocations: 1.19 MB / 291.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.1211, allocations: 1.216 MB / 292.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005291/0.1217, allocations: 136.1 kB / 292.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.1231, allocations: 0.8273 MB / 293.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.1241, allocations: 1.055 MB / 294.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.1256, allocations: 0.6318 MB / 295.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003812/0.1294, allocations: 2.732 MB / 298.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1294, allocations: 0 / 298.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1294, allocations: 0.5938 kB / 298.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001312/0.1295, allocations: 0 / 298.2 MB, free: 14.79 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.004607/0.1341, allocations: 2.614 MB / 300.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1342, allocations: 19.95 kB / 300.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.1366, allocations: 0.7907 MB / 301.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.1379, allocations: 0.9816 MB / 302.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.1379, allocations: 112.6 kB / 302.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.1382, allocations: 160.1 kB / 302.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.1412, allocations: 3.107 MB / 306 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.726e-05/0.1413, allocations: 34.02 kB / 306 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.1415, allocations: 87.36 kB / 306.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009353/0.1424, allocations: 1.196 MB / 307.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.1449, allocations: 1.615 MB / 308.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/0.1584, allocations: 21.1 MB / 330 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.1598, allocations: 0.7451 MB / 330.7 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.1601, allocations: 165.4 kB / 330.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002268/0.1623, allocations: 1.774 MB / 332.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1624, allocations: 42.56 kB / 332.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.414e-06/0.1624, allocations: 0 / 332.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.003655/0.166, allocations: 1.703 MB / 334.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.1661, allocations: 139.6 kB / 334.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.1679, allocations: 2.259 MB / 336.8 MB, free: 304 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1679, allocations: 29.7 kB / 336.8 MB, free: 268 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008539/0.1688, allocations: 2.147 MB / 339 MB, free: 14.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.169, allocations: 350.2 kB / 339.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005962/0.1696, allocations: 0.8199 MB / 340.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.1697, allocations: 348.4 kB / 340.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007408/0.1704, allocations: 0.4908 MB / 341 MB, free: 12.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.1722, allocations: 3.325 MB / 344.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.1751, allocations: 4.217 MB / 348.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-05/0.1751, allocations: 28 kB / 348.5 MB, free: 2.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003221/0.1783, allocations: 2.983 MB / 351.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.1784, allocations: 48 kB / 351.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.159e-05/0.1784, allocations: 104.8 kB / 351.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.1787, allocations: 175.6 kB / 351.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.1802, allocations: 1.01 MB / 352.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009905/0.1812, allocations: 1.45 MB / 354.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.1827, allocations: 207.8 kB / 354.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.1829, allocations: 240 kB / 354.8 MB, free: 11.81 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.0008114/0.1837, allocations: 485.5 kB / 355.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.1839, allocations: 127 kB / 355.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.1843, allocations: 341.1 kB / 355.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.1843, allocations: 15.83 kB / 355.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1843, allocations: 0 / 355.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1843, allocations: 4 kB / 355.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.1866, allocations: 1.922 MB / 357.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.1866, allocations: 0 / 357.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.1868, allocations: 83.91 kB / 357.7 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.1869, allocations: 47.73 kB / 357.8 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.187, allocations: 15.98 kB / 357.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008638/0.1878, allocations: 1.381 MB / 359.1 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1878, allocations: 8.031 kB / 359.2 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.1886, allocations: 1.039 MB / 360.2 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.1888, allocations: 194.5 kB / 360.4 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.1889, allocations: 11.94 kB / 360.4 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.1893, allocations: 15.98 kB / 360.4 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.1894, allocations: 39.88 kB / 360.5 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.1894, allocations: 23.98 kB / 360.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006763/0.1901, allocations: 0.7673 MB / 361.2 MB, free: 5.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1901, allocations: 4.031 kB / 361.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002201/0.1923, allocations: 0.6131 MB / 361.9 MB, free: 4.523 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.0002672/0.1925, allocations: 136.1 kB / 362 MB, free: 4.383 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.1944, allocations: 1.701 MB / 363.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.906e-05/0.1945, allocations: 55.94 kB / 363.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.1947, allocations: 281.9 kB / 364 MB, free: 2.336 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.1958, allocations: 335.5 kB / 364.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.2009, allocations: 4.184 MB / 368.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.2015, allocations: 0.708 MB / 369.2 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007549/0.2022, allocations: 325.5 kB / 369.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.2026, allocations: 341.3 kB / 369.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.2026, allocations: 0 / 369.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of Templates: time 0.02515/0.2278, allocations: 15.64 MB / 385.5 MB, free: 12.89 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.1407015467993915]