Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 195.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 222.1 MB, free: 4.906 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3668/0.3668, allocations: 37.99 MB / 307.4 MB, free: 9.875 MB / 254.1 MB 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 70.62 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1371, allocations: 56.46 MB / 431.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003285/0.1405, allocations: 1.728 MB / 432.9 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1418, allocations: 0.7961 MB / 433.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.1419, allocations: 3.938 kB / 433.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.1423, allocations: 55.88 kB / 433.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1425, allocations: 51.83 kB / 433.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1427, allocations: 71.84 kB / 433.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1429, allocations: 99.69 kB / 434 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.143, allocations: 8.219 kB / 434 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.1431, allocations: 55.72 kB / 434.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.1432, allocations: 35.78 kB / 434.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1432, allocations: 4 kB / 434.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-05/0.1433, allocations: 43.97 kB / 434.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.1434, allocations: 23.92 kB / 434.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.1434, allocations: 47.67 kB / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1436, allocations: 127.8 kB / 434.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1436, allocations: 0 / 434.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1436, allocations: 4 kB / 434.4 MB, free: 3.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1437, allocations: 0 / 434.4 MB, free: 3.781 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005452/0.1442, allocations: 442.7 kB / 434.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1443, allocations: 15.88 kB / 434.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.1443, allocations: 12.75 kB / 434.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1446, allocations: 215.8 kB / 435 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1447, allocations: 4.359 kB / 435 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.1447, allocations: 12.12 kB / 435 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1448, allocations: 49.67 kB / 435.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1449, allocations: 3.938 kB / 435.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1449, allocations: 4 kB / 435.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1449, allocations: 4 kB / 435.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.145, allocations: 23.97 kB / 435.1 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.1454, allocations: 292.9 kB / 435.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1456, allocations: 54.61 kB / 435.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1457, allocations: 28.84 kB / 435.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1457, allocations: 0 / 435.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.146, allocations: 67.39 kB / 435.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.146, allocations: 0 / 435.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00053/0.1465, allocations: 196.9 kB / 435.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1466, allocations: 51.41 kB / 435.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1468, allocations: 254.8 kB / 436 MB, free: 1.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1468, allocations: 33.7 kB / 436.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.1469, allocations: 108.1 kB / 436.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1469, allocations: 23.66 kB / 436.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.147, allocations: 29.7 kB / 436.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1471, allocations: 326.8 kB / 436.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.1471, allocations: 20 kB / 436.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.1472, allocations: 41.64 kB / 436.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1473, allocations: 61.89 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1473, allocations: 0 / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.1475, allocations: 113.3 kB / 436.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1475, allocations: 4 kB / 436.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1475, allocations: 0 / 436.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1476, allocations: 0 / 436.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.1477, allocations: 19.94 kB / 436.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1477, allocations: 32 / 436.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.1477, allocations: 19.92 kB / 436.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1477, allocations: 0 / 436.8 MB, free: 1.055 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.000107/0.1479, allocations: 133.8 kB / 437 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1479, allocations: 19.75 kB / 437 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.1479, allocations: 17.41 kB / 437 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1479, allocations: 3.984 kB / 437 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.148, allocations: 0 / 437 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.148, allocations: 3.938 kB / 437 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.1484, allocations: 395.3 kB / 437.4 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1484, allocations: 0 / 437.4 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.1485, allocations: 15.98 kB / 437.4 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1485, allocations: 4 kB / 437.4 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1485, allocations: 3.938 kB / 437.4 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1485, allocations: 0 / 437.4 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1485, allocations: 0 / 437.4 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1488, allocations: 208.6 kB / 437.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.1489, allocations: 92.92 kB / 437.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1489, allocations: 7.922 kB / 437.7 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.149, allocations: 11.94 kB / 437.7 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.149, allocations: 0 / 437.7 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.149, allocations: 11.98 kB / 437.7 MB, free: 40 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.1492, allocations: 200 kB / 437.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1492, allocations: 4 kB / 437.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1495, allocations: 24 kB / 438 MB, free: 15.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001229/0.1507, allocations: 477.6 kB / 438.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1509, allocations: 59.92 kB / 438.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1509, allocations: 0 / 438.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.151, allocations: 31.92 kB / 438.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1513, allocations: 31.78 kB / 438.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.1518, allocations: 315.8 kB / 438.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1523, allocations: 0.7158 MB / 439.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.223e-05/0.1524, allocations: 20.86 kB / 439.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.1524, allocations: 15.44 kB / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of SimCode: time 1.81e-07/0.1524, allocations: 0 / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of Templates: time 0.004452/0.1569, allocations: 1.71 MB / 441.3 MB, free: 12.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)