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.001254/0.001254, 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.001346/0.001346, allocations: 165.5 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.8661/0.8661, allocations: 177 MB / 205.2 MB, free: 5.434 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 1.112e-06/1.112e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.258e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00531/0.005323, allocations: 6.785 MB / 280.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.009175, allocations: 3.176 MB / 283.3 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.00957, allocations: 39.81 kB / 283.4 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.01059, allocations: 0.8364 MB / 284.2 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.01226, allocations: 1.377 MB / 285.6 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.01288, allocations: 0.5338 MB / 286.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.01509, allocations: 2.924 MB / 289.1 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.01617, allocations: 1.416 MB / 290.5 MB, free: 24 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09393/0.1101, allocations: 1.212 MB / 291.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.1116, allocations: 1.218 MB / 292.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.1119, allocations: 136.5 kB / 293 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.113, allocations: 0.8014 MB / 293.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006857/0.1137, allocations: 1.057 MB / 294.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.1142, allocations: 0.6275 MB / 295.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.1164, allocations: 2.726 MB / 298.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1164, allocations: 4.344 kB / 298.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1164, allocations: 2.734 kB / 298.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.335e-05/0.1164, allocations: 0 / 298.3 MB, free: 14.89 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.002612/0.119, allocations: 2.611 MB / 300.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.119, allocations: 16.83 kB / 300.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.1211, allocations: 0.7921 MB / 301.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009788/0.1221, allocations: 0.9846 MB / 302.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.1222, allocations: 112.4 kB / 302.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.1224, allocations: 161 kB / 302.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.1247, allocations: 3.105 MB / 306 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.1247, allocations: 31.61 kB / 306.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.1249, allocations: 82.58 kB / 306.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008919/0.1258, allocations: 1.202 MB / 307.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.1276, allocations: 1.605 MB / 308.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009858/0.1375, allocations: 21.11 MB / 330.1 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.1388, allocations: 0.7381 MB / 330.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.139, allocations: 165.8 kB / 331 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/0.1409, allocations: 1.771 MB / 332.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.141, allocations: 41.86 kB / 332.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 1.884e-06/0.141, allocations: 3.938 kB / 332.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.003296/0.1443, allocations: 1.707 MB / 334.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1443, allocations: 139.7 kB / 334.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.1458, allocations: 2.258 MB / 336.9 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.1458, allocations: 35.11 kB / 336.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007952/0.1466, allocations: 2.147 MB / 339.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.1468, allocations: 341.4 kB / 339.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006111/0.1474, allocations: 0.8226 MB / 340.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.1475, allocations: 347.5 kB / 340.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000751/0.1482, allocations: 0.4947 MB / 341 MB, free: 12.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.1501, allocations: 3.322 MB / 344.4 MB, free: 8.008 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.1528, allocations: 4.219 MB / 348.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/0.1529, allocations: 28 kB / 348.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002994/0.1559, allocations: 2.979 MB / 351.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.1559, allocations: 48 kB / 351.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-05/0.156, allocations: 104 kB / 351.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.1562, allocations: 175.6 kB / 351.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.1576, allocations: 0.9708 MB / 352.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008022/0.1584, allocations: 1.449 MB / 354.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.1596, allocations: 197.7 kB / 354.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.1598, allocations: 254.4 kB / 354.8 MB, free: 12.16 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.0005548/0.1604, allocations: 482.8 kB / 355.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.1605, allocations: 119.9 kB / 355.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.1609, allocations: 355.4 kB / 355.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.1609, allocations: 8 kB / 355.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1609, allocations: 4 kB / 355.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1609, allocations: 0 / 355.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.1629, allocations: 1.919 MB / 357.6 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1629, allocations: 4.047 kB / 357.6 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.1631, allocations: 79.83 kB / 357.7 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.1632, allocations: 43.64 kB / 357.8 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.1633, allocations: 11.98 kB / 357.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009655/0.1642, allocations: 1.381 MB / 359.2 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1642, allocations: 7.828 kB / 359.2 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.1649, allocations: 1.041 MB / 360.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.1651, allocations: 194.4 kB / 360.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.1652, allocations: 12 kB / 360.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.1656, allocations: 19.98 kB / 360.4 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.1656, allocations: 43.83 kB / 360.5 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.1657, allocations: 20 kB / 360.5 MB, free: 6.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006059/0.1663, allocations: 0.7712 MB / 361.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1663, allocations: 0 / 361.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001709/0.168, allocations: 0.6131 MB / 361.9 MB, free: 4.887 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.0002209/0.1682, allocations: 140.3 kB / 362 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.1696, allocations: 1.696 MB / 363.7 MB, free: 3.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-05/0.1697, allocations: 55.94 kB / 363.8 MB, free: 2.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.17, allocations: 280 kB / 364 MB, free: 2.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.1708, allocations: 350.2 kB / 364.4 MB, free: 2.352 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.1752, allocations: 4.171 MB / 368.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.1757, allocations: 0.708 MB / 369.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006622/0.1764, allocations: 327.8 kB / 369.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.1767, allocations: 353.2 kB / 369.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1767, allocations: 0 / 369.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of Templates: time 0.02315/0.1999, allocations: 15.62 MB / 385.5 MB, free: 13.25 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 -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: 2.9152040597982705]