Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001155/0.001154, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.664/1.664, allocations: 205.1 MB / 222 MB, free: 4.773 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.3698/0.3698, allocations: 37.97 MB / 307.3 MB, free: 10.06 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.001375/0.001375, allocations: 70.41 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1429, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003579/0.1466, allocations: 1.736 MB / 432.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.148, allocations: 0.8039 MB / 433.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.1481, allocations: 3.938 kB / 433.6 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.1484, allocations: 43.81 kB / 433.6 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1486, allocations: 51.83 kB / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1489, allocations: 79.83 kB / 433.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.149, allocations: 91.7 kB / 433.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1491, allocations: 16.22 kB / 433.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1492, allocations: 47.77 kB / 433.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.1493, allocations: 23.86 kB / 433.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.1494, allocations: 4 kB / 433.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1495, allocations: 39.92 kB / 434 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.1496, allocations: 23.91 kB / 434 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.1496, allocations: 39.67 kB / 434 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1499, allocations: 119.9 kB / 434.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1499, allocations: 0 / 434.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1499, allocations: 4 kB / 434.1 MB, free: 3.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.15, allocations: 0 / 434.1 MB, free: 3.926 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.0007075/0.1507, allocations: 415 kB / 434.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.1507, allocations: 12.03 kB / 434.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.1508, allocations: 16.69 kB / 434.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.1511, allocations: 216 kB / 434.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1511, allocations: 4.375 kB / 434.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.1511, allocations: 8.125 kB / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1513, allocations: 53.67 kB / 434.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1513, allocations: 0 / 434.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1514, allocations: 4 kB / 434.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.1514, allocations: 4 kB / 434.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.1515, allocations: 15.98 kB / 434.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.1519, allocations: 300.7 kB / 435.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1521, allocations: 58.69 kB / 435.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.1521, allocations: 20.84 kB / 435.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1522, allocations: 0 / 435.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.1524, allocations: 71.33 kB / 435.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1524, allocations: 0 / 435.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005568/0.1529, allocations: 165.3 kB / 435.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.153, allocations: 63.34 kB / 435.5 MB, free: 2.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.1533, allocations: 218.7 kB / 435.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1533, allocations: 29.7 kB / 435.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.1534, allocations: 108 kB / 435.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1534, allocations: 31.62 kB / 435.9 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.1535, allocations: 17.72 kB / 435.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1536, allocations: 334.8 kB / 436.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.1536, allocations: 20 kB / 436.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.1537, allocations: 41.64 kB / 436.3 MB, free: 1.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1538, allocations: 65.7 kB / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1538, allocations: 0 / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001738/0.154, allocations: 97.59 kB / 436.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.154, allocations: 4 kB / 436.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1541, allocations: 3.984 kB / 436.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1541, allocations: 4.031 kB / 436.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.1542, allocations: 20.31 kB / 436.5 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1542, allocations: 0 / 436.5 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1542, allocations: 3.938 kB / 436.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1542, allocations: 11.94 kB / 436.5 MB, free: 1.301 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.0001079/0.1544, allocations: 133.8 kB / 436.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1544, allocations: 15.81 kB / 436.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.1544, allocations: 17.39 kB / 436.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1545, allocations: 7.984 kB / 436.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1545, allocations: 4 kB / 436.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1545, allocations: 3.938 kB / 436.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.1549, allocations: 395.3 kB / 437.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1549, allocations: 0 / 437.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.155, allocations: 8 kB / 437.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.155, allocations: 0 / 437.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.155, allocations: 11.94 kB / 437.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.155, allocations: 32 / 437.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.155, allocations: 7.938 kB / 437.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.1552, allocations: 196.2 kB / 437.3 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1553, allocations: 89 kB / 437.4 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1553, allocations: 11.94 kB / 437.4 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.1554, allocations: 4 kB / 437.4 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.1554, allocations: 11.98 kB / 437.4 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1555, allocations: 4 kB / 437.4 MB, free: 296 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1556, allocations: 168.3 kB / 437.6 MB, free: 128 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1556, allocations: 0 / 437.6 MB, free: 128 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1559, allocations: 31.98 kB / 437.6 MB, free: 96 kB / 366.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.0009858/0.1569, allocations: 465.8 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.157, allocations: 55.97 kB / 438.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.157, allocations: 0 / 438.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.1571, allocations: 32.08 kB / 438.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1574, allocations: 36.11 kB / 438.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.158, allocations: 280.7 kB / 438.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1583, allocations: 0.7122 MB / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.1583, allocations: 16.88 kB / 439.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.1584, allocations: 19.42 kB / 439.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1584, allocations: 0 / 439.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of Templates: time 0.004211/0.1626, allocations: 1.647 MB / 440.9 MB, free: 12.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)