Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, 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.001469/0.001469, allocations: 193.8 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.692/1.692, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.368/0.368, allocations: 38 MB / 307.7 MB, free: 9.984 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.001705/0.001706, allocations: 78.56 kB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1612, allocations: 56.45 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003493/0.1647, allocations: 1.681 MB / 433.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1663, allocations: 0.8052 MB / 434.2 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.936e-05/0.1664, allocations: 0 / 434.2 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.1668, allocations: 39.77 kB / 434.2 MB, free: 4.082 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.0002686/0.1671, allocations: 47.77 kB / 434.3 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1673, allocations: 95.62 kB / 434.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.1675, allocations: 91.7 kB / 434.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1677, allocations: 16.2 kB / 434.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.066e-05/0.1678, allocations: 39.8 kB / 434.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.1679, allocations: 27.8 kB / 434.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1679, allocations: 4 kB / 434.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.168, allocations: 47.97 kB / 434.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.1681, allocations: 15.92 kB / 434.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.1682, allocations: 35.8 kB / 434.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1684, allocations: 107.9 kB / 434.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1684, allocations: 4 kB / 434.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1684, allocations: 0 / 434.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1684, allocations: 0 / 434.8 MB, free: 3.559 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.0006014/0.169, allocations: 407 kB / 435.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1691, allocations: 11.89 kB / 435.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.1691, allocations: 12.84 kB / 435.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1694, allocations: 215.9 kB / 435.4 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1694, allocations: 8.375 kB / 435.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.1695, allocations: 8.109 kB / 435.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1696, allocations: 53.67 kB / 435.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1697, allocations: 0 / 435.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1697, allocations: 0 / 435.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.1697, allocations: 4 kB / 435.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.1698, allocations: 19.92 kB / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.1703, allocations: 284.9 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1705, allocations: 58.67 kB / 435.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.1706, allocations: 16.86 kB / 435.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1706, allocations: 4 kB / 435.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.1709, allocations: 83.22 kB / 435.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1709, allocations: 0 / 435.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005637/0.1714, allocations: 161.3 kB / 436.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.1715, allocations: 51.41 kB / 436.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1717, allocations: 174.2 kB / 436.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1717, allocations: 29.7 kB / 436.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.1718, allocations: 96.14 kB / 436.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1718, allocations: 27.62 kB / 436.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.1718, allocations: 29.72 kB / 436.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.172, allocations: 330.8 kB / 436.8 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.1721, allocations: 19.98 kB / 436.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.1721, allocations: 41.64 kB / 436.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1722, allocations: 57.64 kB / 436.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1723, allocations: 0 / 436.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001742/0.1724, allocations: 105.5 kB / 437 MB, free: 1.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1725, allocations: 4 kB / 437 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1725, allocations: 0 / 437 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1725, allocations: 0 / 437 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.1726, allocations: 23.92 kB / 437 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1726, allocations: 0 / 437 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.1727, allocations: 3.938 kB / 437 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1727, allocations: 4 kB / 437.1 MB, free: 1.023 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.0001087/0.1728, allocations: 125.9 kB / 437.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1728, allocations: 15.84 kB / 437.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.1729, allocations: 12.72 kB / 437.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1729, allocations: 4 kB / 437.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1729, allocations: 0 / 437.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1729, allocations: 3.938 kB / 437.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1733, allocations: 387.3 kB / 437.6 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1733, allocations: 3.984 kB / 437.6 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.1734, allocations: 12.03 kB / 437.6 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1734, allocations: 3.938 kB / 437.6 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1734, allocations: 7.938 kB / 437.6 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1734, allocations: 0 / 437.6 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1734, allocations: 384 / 437.6 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1737, allocations: 204.4 kB / 437.8 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.1737, allocations: 89 kB / 437.9 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1738, allocations: 7.938 kB / 437.9 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/0.1738, allocations: 8 kB / 437.9 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.1739, allocations: 11.98 kB / 437.9 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1739, allocations: 4 kB / 437.9 MB, free: 36 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.174, allocations: 128.1 kB / 438.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.174, allocations: 0 / 438.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1743, allocations: 24 kB / 438.1 MB, free: 15.88 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.001117/0.1754, allocations: 480.8 kB / 438.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1756, allocations: 59.91 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1756, allocations: 0 / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.1757, allocations: 27.98 kB / 438.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1761, allocations: 44.64 kB / 438.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.1765, allocations: 210.8 kB / 438.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1768, allocations: 0.7041 MB / 439.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.1768, allocations: 17.19 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.1769, allocations: 15.42 kB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1769, allocations: 4 kB / 439.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of Templates: time 0.004855/0.1818, allocations: 1.673 MB / 441.3 MB, free: 12.64 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)