Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.001277/0.001277, allocations: 111.3 kB / 19.69 MB, free: 2.203 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.001365/0.001365, allocations: 192.2 kB / 22.98 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 207.6 MB / 233.7 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2695/0.2695, allocations: 44.24 MB / 330.2 MB, free: 9.555 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.81 kB / 468 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1833, allocations: 61.03 MB / 0.5166 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004729/0.1881, allocations: 2.032 MB / 0.5186 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1901, allocations: 0.9168 MB / 0.5195 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1902, allocations: 3.938 kB / 0.5195 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.1908, allocations: 43.72 kB / 0.5196 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.1911, allocations: 75.55 kB / 0.5196 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.1916, allocations: 119.7 kB / 0.5197 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.192, allocations: 203.3 kB / 0.5199 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.1922, allocations: 29.77 kB / 0.52 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1924, allocations: 87.64 kB / 0.5201 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1926, allocations: 75.61 kB / 0.5201 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.1926, allocations: 12 kB / 0.5201 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.1928, allocations: 51.98 kB / 0.5202 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1929, allocations: 39.84 kB / 0.5202 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.193, allocations: 67.59 kB / 0.5203 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.1934, allocations: 199.1 kB / 0.5205 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1934, allocations: 0 / 0.5205 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1934, allocations: 0 / 0.5205 GB, free: 2.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1935, allocations: 4 kB / 0.5205 GB, free: 2.848 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001344/0.1948, allocations: 0.4888 MB / 0.521 GB, free: 2.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.1949, allocations: 8.031 kB / 0.521 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.1949, allocations: 16.84 kB / 0.521 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.1954, allocations: 195.1 kB / 0.5212 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.1954, allocations: 8.375 kB / 0.5212 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.1955, allocations: 12.12 kB / 0.5212 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.196, allocations: 152.1 kB / 0.5213 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.196, allocations: 3.938 kB / 0.5213 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.1961, allocations: 0 / 0.5213 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1961, allocations: 4 kB / 0.5213 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.1966, allocations: 115.9 kB / 0.5215 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009405/0.1975, allocations: 0.5039 MB / 0.5219 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008094/0.1983, allocations: 162.5 kB / 0.5221 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.1986, allocations: 68.8 kB / 0.5222 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.1987, allocations: 7.984 kB / 0.5222 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004495/0.1991, allocations: 131.3 kB / 0.5223 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.1991, allocations: 0 / 0.5223 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001019/0.2001, allocations: 265.2 kB / 0.5226 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.2002, allocations: 59.34 kB / 0.5226 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.2005, allocations: 216.3 kB / 0.5228 GB, free: 280 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.2005, allocations: 33.7 kB / 0.5228 GB, free: 240 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2006, allocations: 128.4 kB / 0.523 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.2007, allocations: 39.69 kB / 0.523 GB, free: 68 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.2008, allocations: 37.7 kB / 0.523 GB, free: 24 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.201, allocations: 330.8 kB / 0.5234 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.2012, allocations: 63.94 kB / 0.5234 GB, free: 15.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.2015, allocations: 113.3 kB / 0.5235 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.2021, allocations: 193.8 kB / 0.5237 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2021, allocations: 4 kB / 0.5237 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007058/0.2028, allocations: 251 kB / 0.524 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.2029, allocations: 37.81 kB / 0.524 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2029, allocations: 4 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.2029, allocations: 4 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.2031, allocations: 43.84 kB / 0.524 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.2031, allocations: 0 / 0.524 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.2033, allocations: 31.86 kB / 0.5241 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.2033, allocations: 8 kB / 0.5241 GB, free: 14.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.2035, allocations: 138.8 kB / 0.5242 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.2035, allocations: 15.91 kB / 0.5242 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/0.2042, allocations: 202.9 kB / 0.5244 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.2042, allocations: 7.938 kB / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2042, allocations: 0 / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2042, allocations: 0 / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.2045, allocations: 208.6 kB / 0.5246 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2045, allocations: 4 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.2047, allocations: 23.97 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2047, allocations: 3.938 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2047, allocations: 4 kB / 0.5247 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.2047, allocations: 7.938 kB / 0.5247 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2047, allocations: 3.984 kB / 0.5247 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.2057, allocations: 309.2 kB / 0.525 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.2057, allocations: 11.94 kB / 0.525 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.2058, allocations: 8 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.2059, allocations: 19.91 kB / 0.525 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.206, allocations: 24.03 kB / 0.525 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.206, allocations: 11.98 kB / 0.525 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.2062, allocations: 159.5 kB / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2062, allocations: 0 / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.2065, allocations: 43.88 kB / 0.5252 GB, free: 13.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/0.2081, allocations: 412.5 kB / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006859/0.2088, allocations: 215.2 kB / 0.5258 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2088, allocations: 0 / 0.5258 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.2091, allocations: 67.94 kB / 0.5259 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.2094, allocations: 57.31 kB / 0.526 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.2103, allocations: 323.9 kB / 0.5263 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.2108, allocations: 0.7281 MB / 0.527 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.268e-05/0.2109, allocations: 29.47 kB / 0.527 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.2109, allocations: 19.44 kB / 0.527 GB, free: 11.78 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2109, allocations: 0 / 0.527 GB, free: 11.78 MB / 414.1 MB Notification: Performance of Templates: time 0.008531/0.2195, allocations: 2.896 MB / 0.5298 GB, free: 8.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.84556579310447] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.22918915003538132 0.565183074 0.368333814 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9c38dc17b0>