Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009036, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007753/0.007754, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.647/1.647, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3511/0.3511, allocations: 40 MB / 310.7 MB, free: 9.895 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.0007251/0.0007253, allocations: 12 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1407, allocations: 57.96 MB / 437.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002288/0.143, allocations: 1.409 MB / 438.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1445, allocations: 0.773 MB / 439.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1446, allocations: 0 / 439.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.145, allocations: 31.89 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.1453, allocations: 39.84 kB / 439.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.1457, allocations: 87.83 kB / 439.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1459, allocations: 87.59 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.146, allocations: 16.2 kB / 439.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.1461, allocations: 39.73 kB / 439.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.1462, allocations: 31.83 kB / 439.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1463, allocations: 4 kB / 439.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1464, allocations: 32 kB / 440 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.1465, allocations: 19.91 kB / 440 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.1465, allocations: 57.5 kB / 440 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1467, allocations: 115.8 kB / 440.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1468, allocations: 0 / 440.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1468, allocations: 0 / 440.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1468, allocations: 0 / 440.1 MB, free: 15.44 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.0005414/0.1473, allocations: 387.2 kB / 440.5 MB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1474, allocations: 8.031 kB / 440.5 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.1474, allocations: 8.844 kB / 440.5 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1477, allocations: 204.7 kB / 440.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1477, allocations: 3.938 kB / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1477, allocations: 4 kB / 440.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1479, allocations: 61.61 kB / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1479, allocations: 0 / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1479, allocations: 7.938 kB / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.148, allocations: 0 / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.148, allocations: 19.98 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.1484, allocations: 284.8 kB / 441.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1486, allocations: 58.61 kB / 441.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.1487, allocations: 20.86 kB / 441.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1487, allocations: 0 / 441.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.1489, allocations: 71.3 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1489, allocations: 0 / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005401/0.1495, allocations: 173.3 kB / 441.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.1495, allocations: 55.34 kB / 441.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1497, allocations: 158.4 kB / 441.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.1497, allocations: 25.7 kB / 441.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1498, allocations: 100.1 kB / 441.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.1498, allocations: 23.66 kB / 441.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1499, allocations: 25.7 kB / 441.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1501, allocations: 322.8 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.1501, allocations: 16 kB / 442.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.1502, allocations: 41.64 kB / 442.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1503, allocations: 57.77 kB / 442.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1503, allocations: 0 / 442.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.1505, allocations: 105.5 kB / 442.3 MB, free: 13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1505, allocations: 11.98 kB / 442.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1506, allocations: 0 / 442.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1506, allocations: 4.125 kB / 442.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.1507, allocations: 12 kB / 442.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1507, allocations: 7.938 kB / 442.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1507, allocations: 0 / 442.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1508, allocations: 7.984 kB / 442.4 MB, free: 12.96 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.0001017/0.1509, allocations: 129.8 kB / 442.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.1509, allocations: 11.81 kB / 442.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1509, allocations: 20.64 kB / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.151, allocations: 0 / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.151, allocations: 0 / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.151, allocations: 0 / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.1514, allocations: 387.3 kB / 442.9 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1515, allocations: 3.938 kB / 442.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.1515, allocations: 12.41 kB / 442.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1515, allocations: 3.984 kB / 442.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1515, allocations: 4 kB / 442.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1515, allocations: 8 kB / 443 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1515, allocations: 0 / 443 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1518, allocations: 208.1 kB / 443.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.1519, allocations: 85.02 kB / 443.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1519, allocations: 8 kB / 443.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.152, allocations: 0 / 443.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.152, allocations: 11.98 kB / 443.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1521, allocations: 4 kB / 443.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1522, allocations: 127.9 kB / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1522, allocations: 0 / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1525, allocations: 27.98 kB / 443.4 MB, free: 11.82 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.001122/0.1536, allocations: 456.9 kB / 443.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.1539, allocations: 67.8 kB / 443.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1539, allocations: 0 / 443.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.1539, allocations: 24.27 kB / 444 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1543, allocations: 40.11 kB / 444 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.1548, allocations: 225.8 kB / 444.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1551, allocations: 0.7043 MB / 444.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.871e-05/0.1552, allocations: 12.88 kB / 444.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.1553, allocations: 15.44 kB / 444.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1553, allocations: 0 / 444.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Templates: time 0.004266/0.1595, allocations: 1.611 MB / 446.6 MB, free: 8.645 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) Environment - environmentSimulation: