Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, 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.001396/0.001396, allocations: 195 kB / 16.53 MB, free: 6.664 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.695/1.695, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3663/0.3663, allocations: 37.99 MB / 307.8 MB, free: 10.03 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.00188/0.001881, allocations: 67.91 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.156, allocations: 56.47 MB / 431.7 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004383/0.1604, allocations: 1.677 MB / 433.4 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.1631, allocations: 1.411 MB / 434.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1632, allocations: 0 / 434.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.1636, allocations: 39.77 kB / 434.8 MB, free: 3.449 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.0002432/0.1638, allocations: 59.75 kB / 434.9 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1641, allocations: 83.7 kB / 435 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1643, allocations: 95.7 kB / 435.1 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1644, allocations: 12.2 kB / 435.1 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1645, allocations: 47.78 kB / 435.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1647, allocations: 35.84 kB / 435.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1647, allocations: 4 kB / 435.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1648, allocations: 59.97 kB / 435.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.1649, allocations: 19.92 kB / 435.3 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.165, allocations: 31.75 kB / 435.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.1652, allocations: 123.9 kB / 435.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1652, allocations: 0 / 435.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1652, allocations: 0 / 435.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1652, allocations: 0 / 435.4 MB, free: 2.887 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.0006035/0.1658, allocations: 407.1 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1659, allocations: 11.89 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1659, allocations: 8.844 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.1662, allocations: 219.3 kB / 436 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1662, allocations: 384 / 436 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.1663, allocations: 8.125 kB / 436 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1664, allocations: 67.33 kB / 436.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1665, allocations: 0 / 436.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1665, allocations: 0 / 436.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.1665, allocations: 4 kB / 436.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.1666, allocations: 15.98 kB / 436.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.1671, allocations: 284.9 kB / 436.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1673, allocations: 62.61 kB / 436.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.1674, allocations: 20.8 kB / 436.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.1674, allocations: 0 / 436.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.1677, allocations: 71.39 kB / 436.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1677, allocations: 0 / 436.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006923/0.1684, allocations: 177.3 kB / 436.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.1684, allocations: 81.11 kB / 436.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1686, allocations: 153.8 kB / 437 MB, free: 1.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.1687, allocations: 25.7 kB / 437 MB, free: 1.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.1688, allocations: 92.14 kB / 437.1 MB, free: 1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.1688, allocations: 31.64 kB / 437.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.1689, allocations: 25.72 kB / 437.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1691, allocations: 322.8 kB / 437.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.1691, allocations: 24.11 kB / 437.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.1692, allocations: 50.56 kB / 437.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1693, allocations: 53.7 kB / 437.6 MB, free: 484 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1693, allocations: 4.031 kB / 437.6 MB, free: 480 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.1695, allocations: 105.5 kB / 437.7 MB, free: 368 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1695, allocations: 4 kB / 437.7 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1695, allocations: 0 / 437.7 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1696, allocations: 0 / 437.7 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.1697, allocations: 19.98 kB / 437.7 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1697, allocations: 0 / 437.7 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.1697, allocations: 7.875 kB / 437.7 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1697, allocations: 7.984 kB / 437.7 MB, free: 328 kB / 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 9.072e-05/0.1698, allocations: 133.5 kB / 437.9 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.1699, allocations: 7.906 kB / 437.9 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.1699, allocations: 12.72 kB / 437.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1699, allocations: 0 / 437.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1699, allocations: 0 / 437.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1699, allocations: 3.938 kB / 437.9 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.1704, allocations: 383.5 kB / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1704, allocations: 4.031 kB / 438.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.1705, allocations: 8 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1705, allocations: 0 / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1705, allocations: 11.94 kB / 438.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1705, allocations: 80 / 438.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1705, allocations: 4.172 kB / 438.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1708, allocations: 212.1 kB / 438.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.1708, allocations: 92.95 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1709, allocations: 3.938 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.1709, allocations: 4 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.171, allocations: 7.984 kB / 438.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.171, allocations: 7.938 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.485e-05/0.1711, allocations: 122.7 kB / 438.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1711, allocations: 0 / 438.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1714, allocations: 28 kB / 438.7 MB, free: 15.2 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.001183/0.1726, allocations: 0.4891 MB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1728, allocations: 59.92 kB / 439.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1728, allocations: 0 / 439.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.1729, allocations: 35.91 kB / 439.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1732, allocations: 32.14 kB / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.1737, allocations: 191 kB / 439.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1741, allocations: 0.7001 MB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.036e-05/0.1742, allocations: 20.84 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.1743, allocations: 23.44 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1743, allocations: 0 / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.005504/0.1798, allocations: 1.936 MB / 442.2 MB, free: 11.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)