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.0009453/0.0009453, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.00104/0.00104, allocations: 181 kB / 23.36 MB, free: 1.133 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.9772/0.9772, allocations: 177.1 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.03036/0.03036, allocations: 7.182 MB / 267.4 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.282e-06/1.282e-06, allocations: 0 / 286.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.702e-05, allocations: 2.312 kB / 286.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.1224/0.1224, allocations: 6.813 MB / 292.9 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.1268, allocations: 2.435 MB / 295.3 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005689/0.1273, allocations: 29.47 kB / 295.4 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.128, allocations: 327.2 kB / 295.7 MB, free: 16.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.1301, allocations: 1.366 MB / 297 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.1303, allocations: 80.39 kB / 297.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.1322, allocations: 2.215 MB / 299.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.1328, allocations: 0.6382 MB / 300 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.134, allocations: 1.173 MB / 301.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.135, allocations: 1.12 MB / 302.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.1353, allocations: 205.1 kB / 302.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.1361, allocations: 0.8049 MB / 303.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005668/0.1367, allocations: 1.11 MB / 304.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005742/0.1373, allocations: 0.7042 MB / 305.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.1391, allocations: 2.958 MB / 308 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1391, allocations: 4 kB / 308 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1391, allocations: 1.156 kB / 308 MB, free: 9.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.595e-05/0.1392, allocations: 0 / 308 MB, free: 9.871 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.002737/0.1419, allocations: 2.914 MB / 311 MB, free: 6.922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.1419, allocations: 16.53 kB / 311 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/0.1444, allocations: 0.9449 MB / 311.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.1452, allocations: 0.8828 MB / 312.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.1453, allocations: 123.4 kB / 312.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.1455, allocations: 156.2 kB / 313.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.1479, allocations: 2.966 MB / 316 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.148, allocations: 24 kB / 316.1 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.1481, allocations: 79.81 kB / 316.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001181/0.1493, allocations: 1.54 MB / 317.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.152, allocations: 1.687 MB / 319.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.1651, allocations: 15.49 MB / 334.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.1667, allocations: 0.796 MB / 335.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1669, allocations: 185 kB / 335.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.1687, allocations: 1.66 MB / 337.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1688, allocations: 39.56 kB / 337.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=111): time 2.425e-06/0.1688, allocations: 0 / 337.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.004328/0.1731, allocations: 2.749 MB / 340.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.1731, allocations: 64.34 kB / 340.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/0.1741, allocations: 1.371 MB / 341.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.1741, allocations: 41.7 kB / 341.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.1752, allocations: 1.869 MB / 343.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.1754, allocations: 496 kB / 344.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.1759, allocations: 0.636 MB / 344.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.176, allocations: 341.9 kB / 345.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.1764, allocations: 343.3 kB / 345.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.1776, allocations: 2.152 MB / 347.6 MB, free: 428 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.1799, allocations: 2.934 MB / 350.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.1799, allocations: 16 kB / 350.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.00225/0.1822, allocations: 2.242 MB / 352.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.1822, allocations: 35.94 kB / 352.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/0.1823, allocations: 64.91 kB / 352.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.1825, allocations: 178.6 kB / 353 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.1837, allocations: 0.7448 MB / 353.8 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.185, allocations: 1.932 MB / 355.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008429/0.1858, allocations: 128 kB / 355.8 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.186, allocations: 172 kB / 356 MB, free: 6.898 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.0005551/0.1866, allocations: 375.7 kB / 356.4 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.1867, allocations: 115.9 kB / 356.5 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007506/0.1874, allocations: 0.6177 MB / 357.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/0.1875, allocations: 16 kB / 357.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1875, allocations: 4 kB / 357.1 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.1875, allocations: 7.688 kB / 357.1 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.1901, allocations: 2.305 MB / 359.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1901, allocations: 4 kB / 359.4 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.1904, allocations: 163.7 kB / 359.6 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.1907, allocations: 140.2 kB / 359.7 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.1907, allocations: 24.23 kB / 359.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008392/0.1916, allocations: 1.422 MB / 361.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1916, allocations: 7.984 kB / 361.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.1928, allocations: 1.006 MB / 362.2 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.193, allocations: 138.9 kB / 362.3 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.1931, allocations: 24 kB / 362.4 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.1933, allocations: 24 kB / 362.4 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.1934, allocations: 76.73 kB / 362.5 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.1935, allocations: 28 kB / 362.5 MB, free: 104 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004219/0.1939, allocations: 0.5334 MB / 363 MB, free: 15.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1939, allocations: 4.031 kB / 363 MB, free: 15.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001321/0.1952, allocations: 0.5507 MB / 363.6 MB, free: 15.01 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.0002123/0.1954, allocations: 136 kB / 363.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.1967, allocations: 1.426 MB / 365.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.57e-05/0.1968, allocations: 44.69 kB / 365.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.1972, allocations: 410.8 kB / 365.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.1978, allocations: 233.3 kB / 365.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/0.2028, allocations: 4.801 MB / 370.6 MB, free: 7.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.2035, allocations: 0.8003 MB / 371.4 MB, free: 7.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.2041, allocations: 248.4 kB / 371.6 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.2045, allocations: 317.2 kB / 372 MB, free: 6.469 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2045, allocations: 4 kB / 372 MB, free: 6.465 MB / 330.7 MB Notification: Performance of Templates: time 0.02601/0.2305, allocations: 18.31 MB / 390.3 MB, free: 4.473 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.899920273106545]