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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00228/0.00228, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.05157/0.05157, allocations: 9.254 MB / 315.5 MB, free: 15.6 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002149/0.002149, allocations: 67.89 kB / 439.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1157, allocations: 54.29 MB / 494 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.009686/0.1254, allocations: 7.073 MB / 0.4894 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.1306, allocations: 2.379 MB / 0.4917 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.1317, allocations: 35.94 kB / 0.4917 GB, free: 11.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.1329, allocations: 321.9 kB / 0.492 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.1373, allocations: 1.307 MB / 0.4933 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.1379, allocations: 87.83 kB / 0.4934 GB, free: 9.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004203/0.1421, allocations: 2.159 MB / 0.4955 GB, free: 7.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.1436, allocations: 0.5791 MB / 0.4961 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.1456, allocations: 0.7666 MB / 0.4968 GB, free: 5.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.1484, allocations: 1.238 MB / 0.498 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009171/0.1493, allocations: 204 kB / 0.4982 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.1517, allocations: 0.8464 MB / 0.499 GB, free: 3.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001763/0.1535, allocations: 1.083 MB / 0.5001 GB, free: 2.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.1563, allocations: 1.355 MB / 0.5014 GB, free: 1.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006631/0.1629, allocations: 4.513 MB / 0.5058 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1629, allocations: 0 / 0.5058 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1629, allocations: 0 / 0.5058 GB, free: 12.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.1631, allocations: 4 kB / 0.5058 GB, free: 12.62 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.008697/0.1718, allocations: 3.35 MB / 0.5091 GB, free: 9.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1718, allocations: 12.62 kB / 0.5091 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006551/0.1784, allocations: 1.731 MB / 0.5108 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.1814, allocations: 1.145 MB / 0.5119 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.1815, allocations: 123.3 kB / 0.512 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005163/0.182, allocations: 156.2 kB / 0.5122 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2731/0.4552, allocations: 7.207 MB / 0.5192 GB, free: 30.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.167e-05/0.4552, allocations: 17.22 kB / 0.5193 GB, free: 30.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/0.4555, allocations: 74.73 kB / 0.5193 GB, free: 30.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003395/0.4589, allocations: 1.739 MB / 0.521 GB, free: 30.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.4738, allocations: 6.59 MB / 0.5275 GB, free: 29.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03204/0.5059, allocations: 21.11 MB / 0.5481 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/0.5097, allocations: 1.509 MB / 0.5495 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008432/0.5105, allocations: 0.6331 MB / 0.5502 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004224/0.5147, allocations: 2.294 MB / 0.5524 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.5148, allocations: 47.08 kB / 0.5525 GB, free: 12.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 3.226e-06/0.5148, allocations: 0 / 0.5525 GB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01027/0.525, allocations: 5.422 MB / 0.5577 GB, free: 8.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.5251, allocations: 60.41 kB / 0.5578 GB, free: 8.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/0.5293, allocations: 2.274 MB / 0.56 GB, free: 5.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.5295, allocations: 41.7 kB / 0.5601 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.531, allocations: 1.919 MB / 0.5619 GB, free: 3.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/0.5315, allocations: 470 kB / 0.5624 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009232/0.5324, allocations: 0.6711 MB / 0.563 GB, free: 2.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.5325, allocations: 305.1 kB / 0.5633 GB, free: 2.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.5339, allocations: 1.099 MB / 0.5644 GB, free: 1.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/0.5371, allocations: 2.958 MB / 0.5673 GB, free: 13.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006483/0.5436, allocations: 4.379 MB / 0.5716 GB, free: 8.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.106e-05/0.5436, allocations: 20 kB / 0.5716 GB, free: 8.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008639/0.5523, allocations: 4.134 MB / 0.5756 GB, free: 4.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.5523, allocations: 36 kB / 0.5757 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.5524, allocations: 64 kB / 0.5757 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.553, allocations: 213.3 kB / 0.5759 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.5555, allocations: 0.7252 MB / 0.5766 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.559, allocations: 2.596 MB / 0.5792 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.5616, allocations: 159.9 kB / 0.5793 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006328/0.5623, allocations: 208.1 kB / 0.5795 GB, free: 15.94 MB / 414.1 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 (395): * Single equations (assignments): 390 * 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.002895/0.5652, allocations: 1.425 MB / 0.5809 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/0.5656, allocations: 198.6 kB / 0.5811 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/0.569, allocations: 1.615 MB / 0.5827 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/0.5691, allocations: 19.98 kB / 0.5827 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.5691, allocations: 4 kB / 0.5827 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5691, allocations: 3.984 kB / 0.5827 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.5797, allocations: 4.833 MB / 0.5874 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.5797, allocations: 0 / 0.5874 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.5804, allocations: 163.7 kB / 0.5876 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.5808, allocations: 125.3 kB / 0.5877 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.546e-05/0.5809, allocations: 23.98 kB / 0.5877 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.5835, allocations: 2.059 MB / 0.5897 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.5835, allocations: 3.938 kB / 0.5897 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/0.5878, allocations: 2.562 MB / 0.5922 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007201/0.5885, allocations: 202.6 kB / 0.5924 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005173/0.589, allocations: 16 kB / 0.5924 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.5898, allocations: 55.92 kB / 0.5925 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.59, allocations: 75.09 kB / 0.5926 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/0.5901, allocations: 35.98 kB / 0.5926 GB, free: 2.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002394/0.5925, allocations: 1.48 MB / 0.5941 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5925, allocations: 0 / 0.5941 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002567/0.595, allocations: 0.5702 MB / 0.5946 GB, free: 160 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (88): * Single equations (assignments): 83 * 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.0003261/0.5954, allocations: 146.9 kB / 0.5948 GB, free: 0 / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005356/0.6007, allocations: 2.556 MB / 0.5972 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.6007, allocations: 0 / 0.5972 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.6021, allocations: 0.7747 MB / 0.598 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.604, allocations: 332.2 kB / 0.5983 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.6168, allocations: 5.666 MB / 0.6039 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003361/0.6201, allocations: 2.355 MB / 0.6062 GB, free: 4.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002855/0.623, allocations: 1.029 MB / 0.6072 GB, free: 3.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/0.6236, allocations: 147.3 kB / 0.6073 GB, free: 3.055 MB / 430.1 MB Notification: Performance of SimCode: time 2.615e-06/0.6236, allocations: 4 kB / 0.6073 GB, free: 3.051 MB / 430.1 MB Notification: Performance of Templates: time 0.05056/0.6741, allocations: 23.48 MB / 0.6302 GB, free: 11.68 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.947546740993857] Failed to read output from testmodel.py, exit status != 0: 0.6836130628362298 0.701064654 0.534505085 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9430fad7b0>