Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.686/1.686, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.4079/0.4079, allocations: 38 MB / 307.8 MB, free: 10.07 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.001748/0.001749, allocations: 72.47 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1444, allocations: 56.46 MB / 431.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003629/0.1481, allocations: 1.689 MB / 433.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1497, allocations: 0.8091 MB / 434.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1498, allocations: 0 / 434.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.1502, allocations: 39.78 kB / 434.2 MB, free: 4.086 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1505, allocations: 55.69 kB / 434.3 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1508, allocations: 83.77 kB / 434.4 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.151, allocations: 91.69 kB / 434.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1512, allocations: 20.2 kB / 434.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1513, allocations: 39.8 kB / 434.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.1514, allocations: 27.8 kB / 434.6 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1514, allocations: 7.984 kB / 434.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1515, allocations: 43.98 kB / 434.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.1516, allocations: 19.92 kB / 434.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.1517, allocations: 27.81 kB / 434.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1519, allocations: 111.9 kB / 434.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1519, allocations: 0 / 434.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.152, allocations: 0 / 434.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.152, allocations: 4 kB / 434.8 MB, free: 3.562 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.0005958/0.1526, allocations: 414.9 kB / 435.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1526, allocations: 11.89 kB / 435.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.1527, allocations: 12.75 kB / 435.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.153, allocations: 216.1 kB / 435.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.153, allocations: 384 / 435.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.153, allocations: 8.125 kB / 435.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1532, allocations: 57.66 kB / 435.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1532, allocations: 0 / 435.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1532, allocations: 0 / 435.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1532, allocations: 0 / 435.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.1533, allocations: 23.92 kB / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.1538, allocations: 284.9 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.154, allocations: 58.67 kB / 435.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.1541, allocations: 16.86 kB / 435.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1541, allocations: 4 kB / 435.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.1544, allocations: 79.31 kB / 435.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1544, allocations: 0 / 435.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006562/0.155, allocations: 169.2 kB / 436.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1551, allocations: 51.41 kB / 436.1 MB, free: 2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1553, allocations: 186.2 kB / 436.3 MB, free: 1.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1553, allocations: 29.7 kB / 436.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.1554, allocations: 108 kB / 436.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1554, allocations: 19.72 kB / 436.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.1555, allocations: 29.7 kB / 436.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1557, allocations: 330.8 kB / 436.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.1557, allocations: 23.98 kB / 436.9 MB, free: 1.254 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.1558, allocations: 33.66 kB / 436.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1559, allocations: 61.64 kB / 436.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1559, allocations: 0 / 436.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.1562, allocations: 105.5 kB / 437 MB, free: 1.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1562, allocations: 4 kB / 437.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1562, allocations: 0 / 437.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1562, allocations: 4 kB / 437.1 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.1563, allocations: 15.94 kB / 437.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1563, allocations: 0 / 437.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.1564, allocations: 11.92 kB / 437.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1564, allocations: 4 kB / 437.1 MB, free: 1 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.0001136/0.1565, allocations: 125.9 kB / 437.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1566, allocations: 7.906 kB / 437.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.1566, allocations: 16.7 kB / 437.2 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1566, allocations: 0 / 437.2 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1566, allocations: 0 / 437.2 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.1567, allocations: 7.938 kB / 437.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.1572, allocations: 387.3 kB / 437.6 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1572, allocations: 0 / 437.6 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.1572, allocations: 19.95 kB / 437.6 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.1572, allocations: 0 / 437.6 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1573, allocations: 7.938 kB / 437.6 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1573, allocations: 384 / 437.6 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1573, allocations: 0 / 437.6 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.1575, allocations: 204.2 kB / 437.8 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.1576, allocations: 85.02 kB / 437.9 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1576, allocations: 15.94 kB / 437.9 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.1577, allocations: 7.984 kB / 438 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.1577, allocations: 4 kB / 438 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.1578, allocations: 4 kB / 438 MB, free: 20 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1579, allocations: 144 kB / 438.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1579, allocations: 3.938 kB / 438.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1582, allocations: 24 kB / 438.1 MB, free: 15.85 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.001093/0.1593, allocations: 490 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1595, allocations: 55.92 kB / 438.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1595, allocations: 0 / 438.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.1596, allocations: 32.05 kB / 438.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.16, allocations: 35.81 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.1605, allocations: 223.2 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1608, allocations: 0.7041 MB / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.1609, allocations: 13.19 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1609, allocations: 19.44 kB / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1609, allocations: 0 / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of Templates: time 0.005165/0.1661, allocations: 1.688 MB / 441.4 MB, free: 12.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)