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.001491/0.001491, allocations: 105 kB / 20.44 MB, free: 1.504 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.001716/0.001716, allocations: 217 kB / 23.76 MB, free: 4.727 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.365/1.365, allocations: 207.6 MB / 234.5 MB, free: 9.977 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.2051/0.2051, allocations: 44.25 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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.002082/0.002082, allocations: 70.55 kB / 468.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1209, allocations: 61.04 MB / 0.5174 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003631/0.1245, allocations: 2.035 MB / 0.5194 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1261, allocations: 0.9091 MB / 0.5203 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1262, allocations: 3.938 kB / 0.5203 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1265, allocations: 47.7 kB / 0.5203 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1268, allocations: 75.55 kB / 0.5204 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1271, allocations: 119.7 kB / 0.5205 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.1274, allocations: 199.3 kB / 0.5207 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1275, allocations: 29.77 kB / 0.5208 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1276, allocations: 83.64 kB / 0.5208 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1278, allocations: 79.61 kB / 0.5209 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.1278, allocations: 12 kB / 0.5209 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1279, allocations: 51.98 kB / 0.521 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.128, allocations: 35.84 kB / 0.521 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.698e-05/0.1281, allocations: 83.45 kB / 0.5211 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.1284, allocations: 191.2 kB / 0.5213 GB, free: 2.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1284, allocations: 0 / 0.5213 GB, free: 2.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1284, allocations: 3.938 kB / 0.5213 GB, free: 2.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1284, allocations: 0 / 0.5213 GB, free: 2.812 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.0009958/0.1294, allocations: 496.5 kB / 0.5217 GB, free: 2.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1294, allocations: 8.031 kB / 0.5218 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.1295, allocations: 16.84 kB / 0.5218 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.1298, allocations: 195.1 kB / 0.522 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1299, allocations: 8.375 kB / 0.522 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.1299, allocations: 8.125 kB / 0.522 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.1303, allocations: 156.1 kB / 0.5221 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1303, allocations: 0 / 0.5221 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1303, allocations: 11.98 kB / 0.5221 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1303, allocations: 4 kB / 0.5221 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.1307, allocations: 107.9 kB / 0.5222 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.1314, allocations: 0.5078 MB / 0.5227 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.132, allocations: 162.5 kB / 0.5229 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.1322, allocations: 68.8 kB / 0.523 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1323, allocations: 4 kB / 0.523 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.1326, allocations: 135.2 kB / 0.5231 GB, free: 0.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.1326, allocations: 4 kB / 0.5231 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008406/0.1335, allocations: 257.2 kB / 0.5233 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.1335, allocations: 67.33 kB / 0.5234 GB, free: 464 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1338, allocations: 212.3 kB / 0.5236 GB, free: 244 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1338, allocations: 37.7 kB / 0.5236 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.1339, allocations: 128.4 kB / 0.5238 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1339, allocations: 35.69 kB / 0.5238 GB, free: 32 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.134, allocations: 37.7 kB / 0.5238 GB, free: 15.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1341, allocations: 334.8 kB / 0.5241 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.1344, allocations: 63.94 kB / 0.5242 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.1346, allocations: 101.3 kB / 0.5243 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.1351, allocations: 197.8 kB / 0.5245 GB, free: 15.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1351, allocations: 4 kB / 0.5245 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006072/0.1357, allocations: 259.1 kB / 0.5247 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.1358, allocations: 33.7 kB / 0.5248 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1358, allocations: 0 / 0.5248 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1358, allocations: 4 kB / 0.5248 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.136, allocations: 43.78 kB / 0.5248 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.136, allocations: 3.984 kB / 0.5248 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.1361, allocations: 27.94 kB / 0.5249 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1362, allocations: 8.062 kB / 0.5249 GB, free: 14.87 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.0001263/0.1363, allocations: 138.8 kB / 0.525 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.1363, allocations: 23.84 kB / 0.525 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.1369, allocations: 210.9 kB / 0.5252 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.116e-05/0.1369, allocations: 7.938 kB / 0.5252 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1369, allocations: 4 kB / 0.5252 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1369, allocations: 0 / 0.5252 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.1372, allocations: 204.6 kB / 0.5254 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1372, allocations: 0 / 0.5254 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1373, allocations: 23.97 kB / 0.5254 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1373, allocations: 0 / 0.5254 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1374, allocations: 4 kB / 0.5255 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.1374, allocations: 11.92 kB / 0.5255 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1374, allocations: 0 / 0.5255 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.1382, allocations: 300.7 kB / 0.5257 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.1382, allocations: 15.92 kB / 0.5258 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.1382, allocations: 8 kB / 0.5258 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1384, allocations: 23.97 kB / 0.5258 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.1384, allocations: 23.95 kB / 0.5258 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1385, allocations: 4 kB / 0.5258 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1386, allocations: 167.5 kB / 0.526 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1386, allocations: 0 / 0.526 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1388, allocations: 39.89 kB / 0.526 GB, free: 13.6 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.001491/0.1403, allocations: 420.1 kB / 0.5264 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006002/0.1409, allocations: 215.1 kB / 0.5266 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1409, allocations: 0 / 0.5266 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.1412, allocations: 72.19 kB / 0.5267 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1415, allocations: 44.92 kB / 0.5267 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.1422, allocations: 357.6 kB / 0.5271 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1426, allocations: 0.7242 MB / 0.5278 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.1426, allocations: 23.42 kB / 0.5278 GB, free: 11.74 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1426, allocations: 0 / 0.5278 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Templates: time 0.004832/0.1475, allocations: 2.804 MB / 0.5305 GB, free: 8.941 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: 7.278125268174335] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.15550364600494504 0.32556109699999997 0.194732589 Calling exit ...