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.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.001587/0.001587, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002103/0.002103, allocations: 215.7 kB / 22.99 MB, free: 4.973 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.663/1.663, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2466/0.2466, allocations: 44.27 MB / 330.3 MB, free: 9.301 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.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(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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 71.91 kB / 468.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1422, allocations: 61.04 MB / 0.5167 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003834/0.1461, allocations: 1.958 MB / 0.5186 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1479, allocations: 0.8546 MB / 0.5194 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.148, allocations: 0 / 0.5194 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.1483, allocations: 55.62 kB / 0.5195 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1486, allocations: 79.55 kB / 0.5196 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1489, allocations: 131.6 kB / 0.5197 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.1492, allocations: 195.3 kB / 0.5199 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.1493, allocations: 21.78 kB / 0.5199 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1494, allocations: 83.69 kB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1495, allocations: 67.62 kB / 0.52 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1496, allocations: 12 kB / 0.5201 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1497, allocations: 59.91 kB / 0.5201 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.1497, allocations: 35.84 kB / 0.5202 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.1498, allocations: 55.72 kB / 0.5202 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.1501, allocations: 207.1 kB / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1501, allocations: 0 / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1501, allocations: 0 / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.1501, allocations: 3.938 kB / 0.5204 GB, free: 2.777 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.0009684/0.1511, allocations: 492.5 kB / 0.5209 GB, free: 2.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.1511, allocations: 8.031 kB / 0.5209 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.1512, allocations: 16.84 kB / 0.5209 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.1516, allocations: 187.1 kB / 0.5211 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1516, allocations: 12.36 kB / 0.5211 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.1516, allocations: 16.06 kB / 0.5211 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.1521, allocations: 173.9 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1521, allocations: 0 / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.1522, allocations: 4 kB / 0.5213 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.1522, allocations: 4 kB / 0.5213 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.1526, allocations: 119.8 kB / 0.5214 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.1533, allocations: 472.6 kB / 0.5218 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.1539, allocations: 162.6 kB / 0.522 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.1542, allocations: 68.8 kB / 0.5221 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1542, allocations: 0 / 0.5221 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.1546, allocations: 164.9 kB / 0.5222 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.1546, allocations: 0 / 0.5222 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008697/0.1555, allocations: 261.3 kB / 0.5225 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.1556, allocations: 59.41 kB / 0.5225 GB, free: 436 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1558, allocations: 232.2 kB / 0.5227 GB, free: 196 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1558, allocations: 29.7 kB / 0.5228 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.1559, allocations: 128.4 kB / 0.5229 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.156, allocations: 43.89 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.1561, allocations: 33.7 kB / 0.523 GB, free: 15.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002477/0.1563, allocations: 330.8 kB / 0.5233 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.1566, allocations: 97.62 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.157, allocations: 129.9 kB / 0.5235 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.1576, allocations: 197.8 kB / 0.5237 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1576, allocations: 0 / 0.5237 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007014/0.1583, allocations: 292.7 kB / 0.524 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.1584, allocations: 34.62 kB / 0.524 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1584, allocations: 8 kB / 0.524 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1584, allocations: 0 / 0.524 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1586, allocations: 35.97 kB / 0.524 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1586, allocations: 3.938 kB / 0.5241 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1588, allocations: 32.05 kB / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1588, allocations: 8 kB / 0.5241 GB, free: 14.71 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.0001469/0.1589, allocations: 142.7 kB / 0.5242 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.159, allocations: 15.91 kB / 0.5242 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006273/0.1596, allocations: 214.9 kB / 0.5244 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1596, allocations: 11.92 kB / 0.5245 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1596, allocations: 15.86 kB / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1596, allocations: 0 / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.1598, allocations: 161.2 kB / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1598, allocations: 3.984 kB / 0.5246 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.16, allocations: 23.98 kB / 0.5247 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.16, allocations: 4 kB / 0.5247 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.16, allocations: 3.984 kB / 0.5247 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.16, allocations: 0 / 0.5247 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.16, allocations: 0 / 0.5247 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.1609, allocations: 317.2 kB / 0.525 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.1609, allocations: 19.89 kB / 0.525 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.1609, allocations: 7.938 kB / 0.525 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.1611, allocations: 19.97 kB / 0.525 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.1612, allocations: 24.03 kB / 0.525 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.1612, allocations: 15.92 kB / 0.525 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.1614, allocations: 163.5 kB / 0.5252 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1614, allocations: 0 / 0.5252 GB, free: 13.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1616, allocations: 43.92 kB / 0.5252 GB, free: 13.46 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 (13): * Single equations (assignments): 9 * 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.001727/0.1634, allocations: 449.3 kB / 0.5257 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.164, allocations: 240.9 kB / 0.5259 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.164, allocations: 0 / 0.5259 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.1643, allocations: 75.88 kB / 0.526 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1647, allocations: 47.77 kB / 0.526 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.1655, allocations: 328.3 kB / 0.5263 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.1656, allocations: 112.1 kB / 0.5264 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.41e-05/0.1657, allocations: 17.48 kB / 0.5265 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.1658, allocations: 27.44 kB / 0.5265 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1658, allocations: 0 / 0.5265 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.008898/0.1746, allocations: 3.188 MB / 0.5296 GB, free: 9.004 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: 6.02501886151731] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.18519773706793785 0.43320676100000005 0.279880656 Calling exit ...