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.0008803/0.0008803, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.000949/0.000949, allocations: 173 kB / 23.03 MB, free: 1.539 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.9262/0.9262, allocations: 177.1 MB / 203.4 MB, free: 5.57 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.02801/0.02801, allocations: 7.193 MB / 267.1 MB, free: 6.059 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.333e-06/1.333e-06, allocations: 0 / 338.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.441e-05, allocations: 4.844 kB / 338.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.004013/0.004028, allocations: 6.896 MB / 345.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.006169, allocations: 2.367 MB / 348.1 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.006443, allocations: 27.94 kB / 348.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.006885, allocations: 325.8 kB / 348.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.008373, allocations: 1.369 MB / 349.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.008528, allocations: 79.77 kB / 349.9 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.009984, allocations: 2.217 MB / 352.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.01058, allocations: 0.6341 MB / 352.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008548/0.01144, allocations: 1.173 MB / 353.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000907/0.01234, allocations: 1.165 MB / 355.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.01251, allocations: 204 kB / 355.3 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.01321, allocations: 0.7839 MB / 356.1 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005399/0.01375, allocations: 1.122 MB / 357.2 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.01421, allocations: 0.7046 MB / 357.9 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.01607, allocations: 2.953 MB / 360.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01608, allocations: 0 / 360.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01608, allocations: 0 / 360.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.01609, allocations: 0 / 360.9 MB, free: 4.129 MB / 282.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.003811/0.0199, allocations: 3.65 MB / 364.5 MB, free: 436 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.01994, allocations: 12.62 kB / 364.5 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.02349, allocations: 2.116 MB / 366.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.0246, allocations: 1.15 MB / 367.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/0.02467, allocations: 123.4 kB / 367.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.02487, allocations: 168.2 kB / 368.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.02847, allocations: 3.499 MB / 371.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.0285, allocations: 16.81 kB / 371.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.02866, allocations: 79.86 kB / 371.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001513/0.03017, allocations: 1.734 MB / 373.4 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/0.03387, allocations: 2.058 MB / 375.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.04739, allocations: 21.45 MB / 396.9 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.04914, allocations: 0.8369 MB / 397.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.04947, allocations: 245.7 kB / 398 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/0.05146, allocations: 1.878 MB / 399.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.05149, allocations: 42.39 kB / 399.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 2.685e-06/0.05149, allocations: 4 kB / 399.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=125): time 0.004865/0.05636, allocations: 3.347 MB / 403.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.05639, allocations: 68.41 kB / 403.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.05773, allocations: 1.687 MB / 405 MB, free: 6.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.05778, allocations: 41.7 kB / 405 MB, free: 6.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007919/0.05857, allocations: 2.019 MB / 407.1 MB, free: 4.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.05883, allocations: 0.5001 MB / 407.6 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005796/0.05941, allocations: 0.7373 MB / 408.3 MB, free: 3.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.05954, allocations: 0.512 MB / 408.8 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/0.06008, allocations: 354.4 kB / 409.2 MB, free: 2.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1207/0.1808, allocations: 3.111 MB / 412.3 MB, free: 67.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.1837, allocations: 3.81 MB / 416.1 MB, free: 63.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-05/0.1837, allocations: 25.16 kB / 416.1 MB, free: 63.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.004018/0.1877, allocations: 2.78 MB / 418.9 MB, free: 63.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.1878, allocations: 34.22 kB / 418.9 MB, free: 63.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-05/0.1878, allocations: 65.28 kB / 419 MB, free: 63.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.1883, allocations: 170.6 kB / 419.2 MB, free: 63.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.19, allocations: 0.739 MB / 419.9 MB, free: 63.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.1917, allocations: 2.606 MB / 422.5 MB, free: 61.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.1931, allocations: 158.8 kB / 422.7 MB, free: 61.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/0.1934, allocations: 202.9 kB / 422.8 MB, free: 61.04 MB / 330.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.000693/0.1941, allocations: 419.2 kB / 423.3 MB, free: 60.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.1943, allocations: 197.6 kB / 423.5 MB, free: 60.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.1956, allocations: 0.8048 MB / 424.3 MB, free: 60.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.9e-05/0.1956, allocations: 22.34 kB / 424.3 MB, free: 60.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1956, allocations: 2.094 kB / 424.3 MB, free: 60.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.1956, allocations: 4.875 kB / 424.3 MB, free: 60.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004674/0.2003, allocations: 3.354 MB / 427.6 MB, free: 60.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.2003, allocations: 7.5 kB / 427.6 MB, free: 60.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.201, allocations: 169 kB / 427.8 MB, free: 60.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.2012, allocations: 85.58 kB / 427.9 MB, free: 60.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.408e-05/0.2013, allocations: 25.69 kB / 427.9 MB, free: 60.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/0.2022, allocations: 2.041 MB / 430 MB, free: 58.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2023, allocations: 10.53 kB / 430 MB, free: 58.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.2037, allocations: 1.293 MB / 431.3 MB, free: 57.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.2039, allocations: 155.8 kB / 431.4 MB, free: 57.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.204, allocations: 20.03 kB / 431.4 MB, free: 57.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.2045, allocations: 54.05 kB / 431.5 MB, free: 57.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.2046, allocations: 82.3 kB / 431.6 MB, free: 57.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.2046, allocations: 33.53 kB / 431.6 MB, free: 57.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007925/0.2054, allocations: 0.7612 MB / 432.4 MB, free: 57.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2054, allocations: 0 / 432.4 MB, free: 57.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001779/0.2072, allocations: 0.5566 MB / 432.9 MB, free: 57.23 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.0002372/0.2074, allocations: 152.2 kB / 433.1 MB, free: 57.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.2095, allocations: 1.663 MB / 434.7 MB, free: 55.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2095, allocations: 8.062 kB / 434.7 MB, free: 55.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005125/0.21, allocations: 0.5175 MB / 435.3 MB, free: 55.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/0.2108, allocations: 249.4 kB / 435.5 MB, free: 54.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/0.2159, allocations: 4.691 MB / 440.2 MB, free: 50.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/0.2165, allocations: 0.8137 MB / 441 MB, free: 49.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001388/0.2179, allocations: 0.8556 MB / 441.9 MB, free: 49.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.2182, allocations: 131.8 kB / 442 MB, free: 49.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2182, allocations: 0 / 442 MB, free: 49.29 MB / 330.7 MB Notification: Performance of Templates: time 0.02128/0.2394, allocations: 17.77 MB / 459.8 MB, free: 32.27 MB / 330.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.082265662960708]