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.00143/0.00143, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002268/0.002268, allocations: 206.3 kB / 23.73 MB, free: 4.551 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.546/1.546, allocations: 207.7 MB / 234.6 MB, free: 9.781 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.2319/0.2319, allocations: 44.26 MB / 331.1 MB, free: 9.301 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.002335/0.002335, allocations: 78.7 kB / 468.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1209, allocations: 61.04 MB / 0.5174 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003837/0.1248, allocations: 1.958 MB / 0.5193 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1265, allocations: 0.8584 MB / 0.5202 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1266, allocations: 4 kB / 0.5202 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1269, allocations: 51.62 kB / 0.5202 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.1272, allocations: 71.58 kB / 0.5203 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.1275, allocations: 127.7 kB / 0.5204 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.1278, allocations: 199.4 kB / 0.5206 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1279, allocations: 29.72 kB / 0.5206 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1281, allocations: 79.69 kB / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1282, allocations: 71.62 kB / 0.5208 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.1283, allocations: 12 kB / 0.5208 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1284, allocations: 55.92 kB / 0.5209 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.1285, allocations: 35.89 kB / 0.5209 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.1286, allocations: 59.67 kB / 0.5209 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.1289, allocations: 203.1 kB / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1289, allocations: 0 / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1289, allocations: 0 / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1289, allocations: 0 / 0.5211 GB, free: 2.785 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.001169/0.1301, allocations: 488.6 kB / 0.5216 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1301, allocations: 8.031 kB / 0.5216 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.1302, allocations: 20.84 kB / 0.5216 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.1305, allocations: 191.1 kB / 0.5218 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1306, allocations: 8.375 kB / 0.5218 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.1306, allocations: 8.125 kB / 0.5218 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.131, allocations: 173.9 kB / 0.522 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1311, allocations: 0 / 0.522 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1311, allocations: 8 kB / 0.522 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1311, allocations: 0 / 0.522 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.1316, allocations: 119.8 kB / 0.5221 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.1322, allocations: 484.6 kB / 0.5226 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.1329, allocations: 162.5 kB / 0.5227 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.1332, allocations: 68.78 kB / 0.5228 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1332, allocations: 4 kB / 0.5228 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.1336, allocations: 156.9 kB / 0.523 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.1336, allocations: 0 / 0.523 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009349/0.1346, allocations: 265.3 kB / 0.5232 GB, free: 0.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.1346, allocations: 59.39 kB / 0.5233 GB, free: 440 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1349, allocations: 228.2 kB / 0.5235 GB, free: 204 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.1349, allocations: 33.7 kB / 0.5235 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.135, allocations: 132.4 kB / 0.5236 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.1351, allocations: 31.94 kB / 0.5237 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.1352, allocations: 37.7 kB / 0.5237 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1353, allocations: 338.8 kB / 0.524 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.1356, allocations: 93.64 kB / 0.5241 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.136, allocations: 129.9 kB / 0.5242 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.1365, allocations: 201.8 kB / 0.5244 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1365, allocations: 4 kB / 0.5244 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000718/0.1372, allocations: 284.7 kB / 0.5247 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.1373, allocations: 38.64 kB / 0.5247 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1373, allocations: 0 / 0.5247 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1373, allocations: 4 kB / 0.5248 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1375, allocations: 35.95 kB / 0.5248 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1375, allocations: 7.75 kB / 0.5248 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.1377, allocations: 28.06 kB / 0.5248 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.1377, allocations: 7.984 kB / 0.5248 GB, free: 14.72 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.0001423/0.1379, allocations: 138.7 kB / 0.525 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.1379, allocations: 15.91 kB / 0.525 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.1386, allocations: 222.9 kB / 0.5252 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1386, allocations: 3.938 kB / 0.5252 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1386, allocations: 7.938 kB / 0.5252 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1386, allocations: 0 / 0.5252 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1388, allocations: 169.2 kB / 0.5254 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1388, allocations: 0 / 0.5254 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1389, allocations: 23.97 kB / 0.5254 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1389, allocations: 3.938 kB / 0.5254 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.139, allocations: 8 kB / 0.5254 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.139, allocations: 0 / 0.5254 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.139, allocations: 0 / 0.5254 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009258/0.1399, allocations: 317.2 kB / 0.5257 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.1399, allocations: 19.88 kB / 0.5257 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.14, allocations: 15.88 kB / 0.5257 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1401, allocations: 19.97 kB / 0.5257 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.1402, allocations: 23.97 kB / 0.5258 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1402, allocations: 4 kB / 0.5258 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.1404, allocations: 171.5 kB / 0.5259 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1404, allocations: 0 / 0.5259 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1407, allocations: 39.94 kB / 0.526 GB, free: 13.48 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.001743/0.1424, allocations: 444.8 kB / 0.5264 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.1431, allocations: 244.9 kB / 0.5266 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1431, allocations: 3.938 kB / 0.5266 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.1434, allocations: 75.88 kB / 0.5267 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1438, allocations: 51.09 kB / 0.5268 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007854/0.1446, allocations: 354 kB / 0.5271 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.1447, allocations: 116.1 kB / 0.5272 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.1447, allocations: 27.42 kB / 0.5272 GB, free: 12.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1447, allocations: 0 / 0.5272 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Templates: time 0.005685/0.1504, allocations: 2.86 MB / 0.53 GB, free: 9.301 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: 8.262276926077902] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.15978370606899261 0.37747066799999995 0.24574210499999996 Calling exit ...