Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 108 kB / 15.61 MB, free: 152 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.001863/0.001863, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.813/1.813, 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.2+maint.om/package.mo): time 0.3734/0.3734, allocations: 39.93 MB / 309.7 MB, free: 9.285 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.2. 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.002398/0.002399, allocations: 63.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1596, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.004163/0.1639, allocations: 1.689 MB / 436.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1655, allocations: 0.8055 MB / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.599e-05/0.1656, allocations: 0 / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.166, allocations: 43.77 kB / 437 MB, free: 1.133 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.0002739/0.1663, allocations: 47.75 kB / 437.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1666, allocations: 87.69 kB / 437.2 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1668, allocations: 91.7 kB / 437.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.167, allocations: 16.22 kB / 437.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.1671, allocations: 39.78 kB / 437.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.1672, allocations: 35.8 kB / 437.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1672, allocations: 4 kB / 437.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1673, allocations: 43.97 kB / 437.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.1674, allocations: 19.92 kB / 437.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.051e-05/0.1675, allocations: 35.73 kB / 437.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1677, allocations: 107.9 kB / 437.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1677, allocations: 0 / 437.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1677, allocations: 0 / 437.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.1677, allocations: 4 kB / 437.6 MB, free: 0.6094 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.0006829/0.1684, allocations: 414.9 kB / 438 MB, free: 160 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1685, allocations: 15.89 kB / 438 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.1686, allocations: 8.844 kB / 438 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1689, allocations: 208.1 kB / 438.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1689, allocations: 4.375 kB / 438.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1689, allocations: 8.125 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1691, allocations: 53.67 kB / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1691, allocations: 11.98 kB / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1691, allocations: 0 / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1692, allocations: 0 / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.1692, allocations: 27.86 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.1697, allocations: 280.9 kB / 438.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1699, allocations: 62.67 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.17, allocations: 20.84 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.17, allocations: 0 / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.1702, allocations: 75.23 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1702, allocations: 0 / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005968/0.1708, allocations: 165.3 kB / 438.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.1709, allocations: 55.41 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1711, allocations: 186.2 kB / 439.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1711, allocations: 25.7 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.1712, allocations: 108.1 kB / 439.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1713, allocations: 23.69 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1713, allocations: 25.72 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1715, allocations: 330.8 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.1715, allocations: 19.98 kB / 439.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.1716, allocations: 45.64 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1717, allocations: 57.72 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1718, allocations: 0 / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.172, allocations: 101.6 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.172, allocations: 4 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.172, allocations: 0 / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.172, allocations: 0 / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1721, allocations: 27.95 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1721, allocations: 0 / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.1722, allocations: 3.938 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1722, allocations: 4 kB / 439.9 MB, free: 14.04 MB / 382.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.0001127/0.1723, allocations: 125.8 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.1723, allocations: 11.91 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.1724, allocations: 12.72 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1724, allocations: 0 / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1724, allocations: 0 / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1724, allocations: 7.938 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.1729, allocations: 395.6 kB / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1729, allocations: 0 / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.1729, allocations: 15.98 kB / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1729, allocations: 7.875 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.173, allocations: 7.938 kB / 440.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.173, allocations: 0 / 440.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.173, allocations: 0 / 440.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1732, allocations: 200.3 kB / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1733, allocations: 85.02 kB / 440.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1733, allocations: 7.922 kB / 440.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1734, allocations: 8 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1734, allocations: 0 / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1734, allocations: 7.984 kB / 440.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1736, allocations: 148.1 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1736, allocations: 0 / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1739, allocations: 27.98 kB / 440.9 MB, free: 12.89 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.001096/0.175, allocations: 473.5 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1752, allocations: 59.89 kB / 441.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1752, allocations: 3.938 kB / 441.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.1753, allocations: 31.98 kB / 441.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1757, allocations: 39.08 kB / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.1762, allocations: 227.2 kB / 441.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.1765, allocations: 0.7002 MB / 442.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.1766, allocations: 20.88 kB / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1766, allocations: 15.44 kB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1766, allocations: 0 / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Templates: time 0.004441/0.1811, allocations: 1.689 MB / 444.2 MB, free: 9.613 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)