Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, 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.001665/0.001665, allocations: 196.7 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.656/1.656, 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.4215/0.4215, allocations: 37.99 MB / 307.7 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.001553/0.001554, allocations: 80.38 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1582, allocations: 56.45 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004322/0.1626, allocations: 1.692 MB / 433.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1642, allocations: 0.8053 MB / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.1643, allocations: 0 / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.1647, allocations: 47.77 kB / 434.3 MB, free: 4.066 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.0002723/0.165, allocations: 47.75 kB / 434.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1653, allocations: 87.7 kB / 434.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1655, allocations: 91.75 kB / 434.5 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1657, allocations: 16.16 kB / 434.5 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.1658, allocations: 43.73 kB / 434.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.1659, allocations: 31.84 kB / 434.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1659, allocations: 8 kB / 434.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.166, allocations: 39.98 kB / 434.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.1661, allocations: 19.92 kB / 434.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.1662, allocations: 35.73 kB / 434.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1664, allocations: 111.9 kB / 434.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1664, allocations: 0 / 434.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1664, allocations: 0 / 434.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1664, allocations: 4 kB / 434.8 MB, free: 3.539 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.0006177/0.167, allocations: 414.9 kB / 435.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1671, allocations: 19.88 kB / 435.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.1671, allocations: 12.84 kB / 435.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1674, allocations: 204.8 kB / 435.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1674, allocations: 4.375 kB / 435.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.1674, allocations: 4.125 kB / 435.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1676, allocations: 57.66 kB / 435.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1676, allocations: 4 kB / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1677, allocations: 4 kB / 435.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1677, allocations: 0 / 435.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.1677, allocations: 27.92 kB / 435.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1681, allocations: 288.8 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1683, allocations: 50.69 kB / 435.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.1684, allocations: 20.84 kB / 435.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1684, allocations: 4 kB / 435.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.1686, allocations: 71.33 kB / 435.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1686, allocations: 0 / 435.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005945/0.1692, allocations: 181.1 kB / 436.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1693, allocations: 51.41 kB / 436.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1695, allocations: 195.3 kB / 436.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1695, allocations: 29.7 kB / 436.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.1696, allocations: 104.1 kB / 436.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.1697, allocations: 19.72 kB / 436.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1697, allocations: 25.7 kB / 436.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1699, allocations: 334.8 kB / 436.9 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.1699, allocations: 15.98 kB / 436.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.17, allocations: 41.64 kB / 436.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1701, allocations: 61.66 kB / 437 MB, free: 1.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1702, allocations: 0 / 437 MB, free: 1.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.1703, allocations: 109.5 kB / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1704, allocations: 4 kB / 437.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1704, allocations: 160 / 437.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1704, allocations: 4 kB / 437.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.1705, allocations: 12 kB / 437.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1705, allocations: 3.984 kB / 437.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.1706, allocations: 15.83 kB / 437.1 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1706, allocations: 4.031 kB / 437.1 MB, free: 0.9531 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.0001254/0.1707, allocations: 129.8 kB / 437.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1708, allocations: 15.83 kB / 437.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.1708, allocations: 17.39 kB / 437.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1708, allocations: 4 kB / 437.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1708, allocations: 0 / 437.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1708, allocations: 3.938 kB / 437.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.1713, allocations: 391.7 kB / 437.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1713, allocations: 0 / 437.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.1714, allocations: 19.92 kB / 437.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1714, allocations: 0 / 437.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1714, allocations: 3.938 kB / 437.7 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1714, allocations: 4 kB / 437.7 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1714, allocations: 0 / 437.7 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1717, allocations: 208.2 kB / 437.9 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.1718, allocations: 85.02 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1718, allocations: 7.922 kB / 438 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.1719, allocations: 8 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1719, allocations: 0 / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1719, allocations: 7.984 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1721, allocations: 160.8 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1721, allocations: 0 / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1723, allocations: 28 kB / 438.2 MB, free: 15.77 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.001052/0.1734, allocations: 465.2 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1736, allocations: 67.91 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1736, allocations: 0 / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.1737, allocations: 23.98 kB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.174, allocations: 31.11 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.1745, allocations: 243.5 kB / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1749, allocations: 0.708 MB / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.175, allocations: 16.86 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.175, allocations: 15.44 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.175, allocations: 4 kB / 439.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of Templates: time 0.004846/0.1799, allocations: 1.689 MB / 441.4 MB, free: 12.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)