Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007969/0.00797, allocations: 101.2 kB / 15.73 MB, free: 5.523 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.001422/0.001423, allocations: 194.6 kB / 16.67 MB, free: 5.461 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.598/1.598, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2183/0.2183, allocations: 39.96 MB / 309.9 MB, free: 4.031 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.002091/0.002091, allocations: 77.45 kB / 435.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1494, allocations: 56.87 MB / 492.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004672/0.1541, allocations: 1.691 MB / 494.4 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.156, allocations: 0.8052 MB / 495.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.693e-05/0.1561, allocations: 0 / 495.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.1566, allocations: 83.7 kB / 495.3 MB, free: 112 kB / 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.0003096/0.157, allocations: 67.73 kB / 495.4 MB, free: 44 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.1574, allocations: 83.86 kB / 495.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1576, allocations: 111.5 kB / 495.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1577, allocations: 20.2 kB / 495.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1579, allocations: 51.72 kB / 495.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.158, allocations: 55.81 kB / 495.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.1581, allocations: 4 kB / 495.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1582, allocations: 47.97 kB / 495.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.1583, allocations: 23.92 kB / 495.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.1584, allocations: 31.75 kB / 495.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1586, allocations: 115.6 kB / 495.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1587, allocations: 0 / 495.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1587, allocations: 3.938 kB / 495.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1587, allocations: 4 kB / 495.9 MB, free: 15.5 MB / 382.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.0006578/0.1593, allocations: 414.9 kB / 496.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1594, allocations: 11.89 kB / 496.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.1595, allocations: 12.75 kB / 496.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.1598, allocations: 212.6 kB / 496.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1599, allocations: 4.375 kB / 496.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1599, allocations: 4.125 kB / 496.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1601, allocations: 53.67 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1601, allocations: 11.98 kB / 496.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1601, allocations: 3.938 kB / 496.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1601, allocations: 3.984 kB / 496.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/0.1602, allocations: 15.98 kB / 496.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.1607, allocations: 296.7 kB / 496.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.1609, allocations: 58.69 kB / 497 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.161, allocations: 24.78 kB / 497 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1611, allocations: 0 / 497 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1612, allocations: 67.39 kB / 497.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.027e-06/0.1613, allocations: 0 / 497.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006724/0.1619, allocations: 185.4 kB / 497.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.162, allocations: 59.41 kB / 497.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.1623, allocations: 215.1 kB / 497.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1623, allocations: 25.7 kB / 497.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1624, allocations: 104.1 kB / 497.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1624, allocations: 27.64 kB / 497.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.1625, allocations: 17.72 kB / 497.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1626, allocations: 330.8 kB / 498 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.1627, allocations: 20.05 kB / 498 MB, free: 13.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.1628, allocations: 45.64 kB / 498.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.163, allocations: 65.64 kB / 498.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.163, allocations: 0 / 498.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002483/0.1632, allocations: 97.44 kB / 498.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1633, allocations: 8 kB / 498.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1633, allocations: 0 / 498.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1633, allocations: 0 / 498.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1634, allocations: 24.02 kB / 498.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1635, allocations: 4 kB / 498.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.1635, allocations: 3.938 kB / 498.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1635, allocations: 4 kB / 498.3 MB, free: 12.88 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.0001304/0.1637, allocations: 137.7 kB / 498.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1637, allocations: 11.81 kB / 498.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.1638, allocations: 17.39 kB / 498.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1638, allocations: 7.938 kB / 498.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1638, allocations: 4 kB / 498.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1638, allocations: 3.938 kB / 498.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.1644, allocations: 387.4 kB / 498.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1644, allocations: 3.938 kB / 498.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.1645, allocations: 8 kB / 498.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1645, allocations: 3.984 kB / 498.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1645, allocations: 7.938 kB / 498.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1645, allocations: 0 / 498.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1645, allocations: 0 / 498.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.1648, allocations: 208.2 kB / 499.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.1648, allocations: 88.92 kB / 499.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.1649, allocations: 3.938 kB / 499.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.1649, allocations: 11.98 kB / 499.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.165, allocations: 7.938 kB / 499.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.165, allocations: 4 kB / 499.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1652, allocations: 163.2 kB / 499.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 499.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1654, allocations: 20 kB / 499.4 MB, free: 11.7 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.001107/0.1665, allocations: 475 kB / 499.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1667, allocations: 55.91 kB / 499.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1668, allocations: 4 kB / 499.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.1668, allocations: 31.98 kB / 499.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1672, allocations: 35.78 kB / 499.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.1677, allocations: 243 kB / 0.4885 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1681, allocations: 0.7118 MB / 0.4892 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.031e-05/0.1682, allocations: 16.86 kB / 0.4892 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.1682, allocations: 15.44 kB / 0.4892 GB, free: 10.11 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1682, allocations: 0 / 0.4892 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Templates: time 0.006235/0.1745, allocations: 1.741 MB / 0.4909 GB, free: 8.371 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)