Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009386/0.009386, allocations: 94.77 kB / 15.73 MB, free: 6.039 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.001791/0.001791, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.576/1.576, 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.2176/0.2176, 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.00151/0.00151, allocations: 73.62 kB / 435.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.145, allocations: 56.88 MB / 492.7 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004338/0.1494, allocations: 1.688 MB / 494.4 MB, free: 1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.151, allocations: 0.8014 MB / 495.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.1511, allocations: 7.938 kB / 495.2 MB, free: 188 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1516, allocations: 43.81 kB / 495.3 MB, free: 144 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.0002526/0.1518, allocations: 63.69 kB / 495.3 MB, free: 80 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1521, allocations: 87.81 kB / 495.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1523, allocations: 99.58 kB / 495.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1525, allocations: 20.14 kB / 495.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.1526, allocations: 35.8 kB / 495.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.1527, allocations: 31.84 kB / 495.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1527, allocations: 4 kB / 495.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1528, allocations: 35.98 kB / 495.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.1529, allocations: 35.84 kB / 495.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.153, allocations: 43.67 kB / 495.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1532, allocations: 131.4 kB / 495.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1533, allocations: 0 / 495.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1533, allocations: 0 / 495.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1533, allocations: 0 / 495.8 MB, free: 15.56 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.0007315/0.154, allocations: 442.5 kB / 496.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.1541, allocations: 11.89 kB / 496.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.1541, allocations: 16.84 kB / 496.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.1545, allocations: 227.8 kB / 496.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1545, allocations: 8.375 kB / 496.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1545, allocations: 4.125 kB / 496.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1548, allocations: 57.67 kB / 496.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1548, allocations: 0 / 496.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1548, allocations: 0 / 496.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1548, allocations: 0 / 496.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.1549, allocations: 19.98 kB / 496.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.1553, allocations: 300.8 kB / 496.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1555, allocations: 62.67 kB / 497 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.1556, allocations: 20.84 kB / 497 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1556, allocations: 0 / 497 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.1558, allocations: 67.39 kB / 497.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.1558, allocations: 4 kB / 497.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005235/0.1563, allocations: 185.5 kB / 497.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1564, allocations: 51.41 kB / 497.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1566, allocations: 258.5 kB / 497.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1566, allocations: 33.64 kB / 497.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.1567, allocations: 116 kB / 497.7 MB, free: 13.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.1568, allocations: 31.77 kB / 497.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.1568, allocations: 21.72 kB / 497.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1569, allocations: 334.8 kB / 498.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.157, allocations: 19.98 kB / 498.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.719e-05/0.1571, allocations: 37.64 kB / 498.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1572, allocations: 65.7 kB / 498.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1572, allocations: 4 kB / 498.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.1574, allocations: 105.5 kB / 498.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.1575, allocations: 14.66 kB / 498.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1575, allocations: 0 / 498.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1575, allocations: 0 / 498.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.1576, allocations: 19.92 kB / 498.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1576, allocations: 4 kB / 498.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1577, allocations: 3.938 kB / 498.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1577, allocations: 4 kB / 498.3 MB, free: 12.82 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.000118/0.1578, allocations: 141.7 kB / 498.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.1579, allocations: 15.91 kB / 498.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.1579, allocations: 21.39 kB / 498.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1579, allocations: 0 / 498.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.1579, allocations: 4 kB / 498.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.158, allocations: 3.938 kB / 498.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.1585, allocations: 403.3 kB / 498.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1585, allocations: 0 / 498.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1586, allocations: 8 kB / 498.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1586, allocations: 0 / 498.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1586, allocations: 7.969 kB / 498.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.1586, allocations: 4 kB / 498.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1586, allocations: 0 / 498.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1589, allocations: 212.2 kB / 499.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.1589, allocations: 89.02 kB / 499.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.159, allocations: 7.938 kB / 499.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.1591, allocations: 8 kB / 499.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1591, allocations: 7.984 kB / 499.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1591, allocations: 4 kB / 499.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.1593, allocations: 196.5 kB / 499.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1593, allocations: 0 / 499.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1596, allocations: 27.92 kB / 499.5 MB, free: 11.58 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.001074/0.1607, allocations: 465.5 kB / 499.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1608, allocations: 59.91 kB / 500 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1609, allocations: 0 / 500 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.1609, allocations: 31.92 kB / 0.4883 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1613, allocations: 35.81 kB / 0.4883 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.1621, allocations: 279.5 kB / 0.4886 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.1626, allocations: 0.7158 MB / 0.4893 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.1626, allocations: 12.89 kB / 0.4893 GB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.1627, allocations: 23.42 kB / 0.4893 GB, free: 9.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1627, allocations: 0 / 0.4893 GB, free: 9.945 MB / 382.1 MB Notification: Performance of Templates: time 0.004588/0.1673, allocations: 1.731 MB / 0.491 GB, free: 8.219 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)