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.001015/0.001015, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001073/0.001073, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 1.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.03131/0.03131, allocations: 7.189 MB / 267.5 MB, free: 6.137 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.393e-06/1.393e-06, allocations: 0 / 338.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.255e-05, allocations: 4.844 kB / 338.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.004512/0.004535, allocations: 6.873 MB / 345.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.007388, allocations: 2.363 MB / 348.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.007915, allocations: 31.88 kB / 348.1 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.008482, allocations: 317.9 kB / 348.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.01022, allocations: 1.373 MB / 349.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.0104, allocations: 71.83 kB / 349.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.012, allocations: 2.211 MB / 352.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006528/0.01265, allocations: 0.6341 MB / 352.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009296/0.01358, allocations: 1.177 MB / 353.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.01477, allocations: 1.161 MB / 355.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.01496, allocations: 204 kB / 355.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008733/0.01583, allocations: 0.7878 MB / 356.1 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.01649, allocations: 1.118 MB / 357.2 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008307/0.01732, allocations: 0.7085 MB / 357.9 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.01983, allocations: 2.95 MB / 360.8 MB, free: 4.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01984, allocations: 4 kB / 360.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01984, allocations: 0 / 360.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.01986, allocations: 0 / 360.8 MB, free: 4.488 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.004593/0.02445, allocations: 3.646 MB / 364.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.02449, allocations: 12.62 kB / 364.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.02873, allocations: 2.117 MB / 366.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.03002, allocations: 1.096 MB / 367.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.58e-05/0.0301, allocations: 123.4 kB / 367.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.03032, allocations: 160.2 kB / 368 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00417/0.03449, allocations: 3.503 MB / 371.5 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.03453, allocations: 20.02 kB / 371.5 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.0347, allocations: 83.8 kB / 371.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001882/0.03659, allocations: 1.738 MB / 373.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/0.04083, allocations: 2.058 MB / 375.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.05656, allocations: 21.45 MB / 396.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.05856, allocations: 0.8295 MB / 397.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.05894, allocations: 252.7 kB / 397.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002327/0.06127, allocations: 1.883 MB / 399.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.0613, allocations: 46.39 kB / 399.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 3.316e-06/0.06131, allocations: 0 / 399.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=125): time 0.005666/0.06697, allocations: 3.344 MB / 403.2 MB, free: 8.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.06701, allocations: 64.34 kB / 403.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.06849, allocations: 1.683 MB / 404.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.06854, allocations: 41.7 kB / 405 MB, free: 7.133 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008327/0.06937, allocations: 2.019 MB / 407 MB, free: 5.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.06964, allocations: 0.5001 MB / 407.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007527/0.07039, allocations: 0.7257 MB / 408.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.07051, allocations: 0.5121 MB / 408.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/0.07111, allocations: 350.4 kB / 409.1 MB, free: 2.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1165/0.1876, allocations: 3.104 MB / 412.2 MB, free: 71.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/0.191, allocations: 3.795 MB / 416 MB, free: 68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.977e-05/0.191, allocations: 23.66 kB / 416 MB, free: 67.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=438) (initialization): time 0.004933/0.196, allocations: 2.781 MB / 418.8 MB, free: 67.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.196, allocations: 34.88 kB / 418.8 MB, free: 67.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.662e-05/0.1961, allocations: 70.28 kB / 418.9 MB, free: 67.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.1966, allocations: 173 kB / 419 MB, free: 67.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.1983, allocations: 0.7357 MB / 419.8 MB, free: 67.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.2, allocations: 2.604 MB / 422.4 MB, free: 65.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.2013, allocations: 156.7 kB / 422.5 MB, free: 65.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/0.2016, allocations: 201.2 kB / 422.7 MB, free: 65.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * 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 (403): * Single equations (assignments): 398 * 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.0008051/0.2024, allocations: 415 kB / 423.1 MB, free: 65.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.2026, allocations: 198.1 kB / 423.3 MB, free: 65.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.2037, allocations: 0.7979 MB / 424.1 MB, free: 65.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/0.2038, allocations: 25.69 kB / 424.2 MB, free: 65.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2038, allocations: 0 / 424.2 MB, free: 65.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.2038, allocations: 5.016 kB / 424.2 MB, free: 65.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.2086, allocations: 3.36 MB / 427.5 MB, free: 64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2086, allocations: 3.969 kB / 427.5 MB, free: 64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.209, allocations: 169 kB / 427.7 MB, free: 63.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.2092, allocations: 84.73 kB / 427.8 MB, free: 63.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.2093, allocations: 32.52 kB / 427.8 MB, free: 63.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009661/0.2102, allocations: 2.044 MB / 429.8 MB, free: 62.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2102, allocations: 7.688 kB / 429.9 MB, free: 62.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.2116, allocations: 1.297 MB / 431.1 MB, free: 61.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.2118, allocations: 154.3 kB / 431.3 MB, free: 61.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.212, allocations: 23.66 kB / 431.3 MB, free: 61.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.2123, allocations: 50.91 kB / 431.4 MB, free: 61.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2124, allocations: 78.34 kB / 431.4 MB, free: 61.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.2124, allocations: 43.61 kB / 431.5 MB, free: 61.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007084/0.2131, allocations: 0.7515 MB / 432.2 MB, free: 60.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2131, allocations: 0 / 432.2 MB, free: 60.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001797/0.2149, allocations: 0.5606 MB / 432.8 MB, free: 59.92 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.0003141/0.2152, allocations: 149.3 kB / 432.9 MB, free: 59.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002241/0.2175, allocations: 1.67 MB / 434.6 MB, free: 58.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2175, allocations: 4.062 kB / 434.6 MB, free: 58.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.2179, allocations: 0.5141 MB / 435.1 MB, free: 57.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007611/0.2187, allocations: 250.3 kB / 435.4 MB, free: 57.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/0.2245, allocations: 4.688 MB / 440.1 MB, free: 53.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/0.2252, allocations: 0.8083 MB / 440.9 MB, free: 52.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001178/0.2264, allocations: 0.859 MB / 441.7 MB, free: 51.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.2266, allocations: 136.5 kB / 441.9 MB, free: 51.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2266, allocations: 2.516 kB / 441.9 MB, free: 51.86 MB / 330.7 MB Notification: Performance of Templates: time 0.02456/0.2512, allocations: 17.02 MB / 458.9 MB, free: 35.11 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.400499080074951]