Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.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.0008238/0.0008238, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008722/0.0008722, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9904/0.9904, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.04098/0.04098, allocations: 7.188 MB / 267.5 MB, free: 5.938 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo) 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(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 286 MB, free: 3.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.636e-06/9.808e-06, allocations: 2.312 kB / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.1136/0.1136, allocations: 6.76 MB / 292.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004758/0.1184, allocations: 2.437 MB / 295.2 MB, free: 17.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007134/0.1191, allocations: 29.25 kB / 295.3 MB, free: 17.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.1199, allocations: 332.4 kB / 295.6 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.1227, allocations: 1.373 MB / 297 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1229, allocations: 78.41 kB / 297 MB, free: 16.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.1249, allocations: 2.222 MB / 299.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006409/0.1255, allocations: 0.6376 MB / 299.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.1266, allocations: 1.176 MB / 301.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.1278, allocations: 1.116 MB / 302.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003036/0.1281, allocations: 205.2 kB / 302.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009375/0.129, allocations: 0.7854 MB / 303.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006308/0.1297, allocations: 1.115 MB / 304.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006792/0.1303, allocations: 0.7045 MB / 305 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.1324, allocations: 2.952 MB / 307.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1324, allocations: 4 kB / 308 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1324, allocations: 0 / 308 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.131e-05/0.1325, allocations: 1.188 kB / 308 MB, free: 10.16 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: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.002794/0.1353, allocations: 2.921 MB / 310.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.306e-05/0.1353, allocations: 8.625 kB / 310.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.1376, allocations: 0.9488 MB / 311.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/0.1383, allocations: 0.8789 MB / 312.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.1384, allocations: 127.4 kB / 312.8 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.1386, allocations: 163.8 kB / 313 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.1409, allocations: 2.966 MB / 316 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.1409, allocations: 16.02 kB / 316 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.141, allocations: 83.81 kB / 316.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001108/0.1421, allocations: 1.539 MB / 317.6 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.1448, allocations: 1.684 MB / 319.3 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.1564, allocations: 15.49 MB / 334.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.1578, allocations: 0.7956 MB / 335.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.158, allocations: 185 kB / 335.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/0.1598, allocations: 1.648 MB / 337.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1598, allocations: 47.61 kB / 337.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=111): time 1.834e-06/0.1598, allocations: 3.938 kB / 337.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.004304/0.1641, allocations: 2.749 MB / 340.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.1642, allocations: 68.34 kB / 340.3 MB, free: 8.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/0.165, allocations: 1.359 MB / 341.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.165, allocations: 41.7 kB / 341.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006575/0.1657, allocations: 1.877 MB / 343.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.1659, allocations: 492 kB / 344 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/0.1664, allocations: 0.6399 MB / 344.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.1665, allocations: 337.9 kB / 345 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.1669, allocations: 347.3 kB / 345.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.1682, allocations: 2.144 MB / 347.5 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.1701, allocations: 2.943 MB / 350.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/0.1701, allocations: 20 kB / 350.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.002143/0.1722, allocations: 2.233 MB / 352.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.1722, allocations: 33.72 kB / 352.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003076/0.1726, allocations: 68.16 kB / 352.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.1728, allocations: 169.9 kB / 352.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.1739, allocations: 0.7135 MB / 353.6 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.175, allocations: 1.941 MB / 355.6 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/0.1758, allocations: 128 kB / 355.7 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.176, allocations: 172 kB / 355.9 MB, free: 7.211 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 299 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (404): * Single equations (assignments): 399 * Array equations: 4 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004307/0.1764, allocations: 377.5 kB / 356.3 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.1765, allocations: 111.9 kB / 356.4 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.1772, allocations: 0.6216 MB / 357 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/0.1773, allocations: 19.98 kB / 357 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1773, allocations: 4 kB / 357 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-06/0.1773, allocations: 7.969 kB / 357 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.1798, allocations: 2.293 MB / 359.3 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.1798, allocations: 7.984 kB / 359.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.1801, allocations: 159.7 kB / 359.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.1803, allocations: 136.2 kB / 359.6 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.1804, allocations: 27.98 kB / 359.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.1815, allocations: 1.423 MB / 361.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1815, allocations: 7.984 kB / 361.1 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.1825, allocations: 0.9985 MB / 362.1 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1826, allocations: 142.9 kB / 362.2 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.1827, allocations: 20 kB / 362.2 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.1829, allocations: 29.25 kB / 362.2 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.183, allocations: 76.75 kB / 362.3 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.1831, allocations: 31.98 kB / 362.4 MB, free: 424 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004093/0.1835, allocations: 0.5256 MB / 362.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1835, allocations: 0 / 362.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001182/0.1847, allocations: 0.5546 MB / 363.4 MB, free: 15.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (revolute.phi,revolute.w) * 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 (93): * Single equations (assignments): 88 * Array equations: 4 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.1848, allocations: 136 kB / 363.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.1861, allocations: 1.422 MB / 365 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-05/0.1862, allocations: 53.44 kB / 365 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.1865, allocations: 407.8 kB / 365.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.1871, allocations: 230.5 kB / 365.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.1919, allocations: 4.797 MB / 370.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/0.1926, allocations: 0.8003 MB / 371.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007438/0.1933, allocations: 257 kB / 371.5 MB, free: 7.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.1938, allocations: 321.2 kB / 371.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1938, allocations: 0 / 371.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of Templates: time 0.03022/0.2241, allocations: 18.31 MB / 390.1 MB, free: 4.789 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0050954590551555]