Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009003/0.009003, allocations: 104.5 kB / 15.74 MB, free: 5.598 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.001564/0.001565, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.658/1.658, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2126/0.2126, allocations: 38.01 MB / 307.9 MB, free: 5.977 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.00149/0.00149, allocations: 67.91 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1413, allocations: 56.46 MB / 489.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003847/0.1452, allocations: 1.891 MB / 491.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.147, allocations: 0.844 MB / 492.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1472, allocations: 7.938 kB / 492.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.1476, allocations: 43.7 kB / 492.3 MB, free: 3.016 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.0002852/0.1479, allocations: 55.69 kB / 492.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.1483, allocations: 103.7 kB / 492.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.1485, allocations: 139.6 kB / 492.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1487, allocations: 29.47 kB / 492.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1488, allocations: 59.7 kB / 492.7 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1489, allocations: 43.78 kB / 492.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.149, allocations: 11.94 kB / 492.7 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1491, allocations: 47.98 kB / 492.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.1492, allocations: 27.84 kB / 492.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.623e-05/0.1492, allocations: 51.67 kB / 492.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.1496, allocations: 143.5 kB / 493 MB, free: 2.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1496, allocations: 0 / 493 MB, free: 2.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1496, allocations: 0 / 493 MB, free: 2.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1496, allocations: 4 kB / 493 MB, free: 2.305 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009046/0.1506, allocations: 484.5 kB / 493.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1506, allocations: 11.89 kB / 493.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.1507, allocations: 16.75 kB / 493.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.151, allocations: 228 kB / 493.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1511, allocations: 8.375 kB / 493.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1511, allocations: 8.125 kB / 493.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.1514, allocations: 120.1 kB / 493.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1514, allocations: 4 kB / 493.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1514, allocations: 0 / 493.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1514, allocations: 0 / 493.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.1516, allocations: 51.91 kB / 493.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.1522, allocations: 0.4932 MB / 494.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.1525, allocations: 98.58 kB / 494.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.1526, allocations: 36.84 kB / 494.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1527, allocations: 0 / 494.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1529, allocations: 87.31 kB / 494.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.1529, allocations: 3.938 kB / 494.6 MB, free: 500 kB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004522/0.1534, allocations: 145.4 kB / 494.8 MB, free: 348 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.1535, allocations: 55.34 kB / 494.8 MB, free: 280 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.1537, allocations: 195.4 kB / 495 MB, free: 72 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1537, allocations: 25.7 kB / 495 MB, free: 40 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1539, allocations: 120 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.1539, allocations: 31.55 kB / 495.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.154, allocations: 25.72 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.1542, allocations: 326.8 kB / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1543, allocations: 32.09 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1545, allocations: 64.28 kB / 495.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1547, allocations: 96.2 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1547, allocations: 0 / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003033/0.155, allocations: 141.7 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.1551, allocations: 4 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1551, allocations: 4 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.1551, allocations: 96 / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1553, allocations: 35.8 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1553, allocations: 0 / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.1554, allocations: 8 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1554, allocations: 4 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001685/0.1556, allocations: 145.8 kB / 496 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.1556, allocations: 11.81 kB / 496.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.1557, allocations: 13.41 kB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.1557, allocations: 7.938 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1557, allocations: 3.984 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1557, allocations: 0 / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.156, allocations: 213.5 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.156, allocations: 0 / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.1561, allocations: 8 kB / 496.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.1561, allocations: 8 kB / 496.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1561, allocations: 0 / 496.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.1561, allocations: 11.92 kB / 496.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1561, allocations: 0 / 496.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.1566, allocations: 180.8 kB / 496.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.1567, allocations: 88.95 kB / 496.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1567, allocations: 3.938 kB / 496.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.1568, allocations: 15.98 kB / 496.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.1568, allocations: 11.98 kB / 496.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.1569, allocations: 4 kB / 496.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.157, allocations: 141.2 kB / 496.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.157, allocations: 0 / 496.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1573, allocations: 20 kB / 496.8 MB, free: 14.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001227/0.1585, allocations: 415.6 kB / 497.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.1589, allocations: 79.89 kB / 497.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1589, allocations: 0 / 497.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.159, allocations: 39.92 kB / 497.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1594, allocations: 43.95 kB / 497.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.1602, allocations: 264.2 kB / 497.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.1606, allocations: 0.7162 MB / 498.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.634e-05/0.1607, allocations: 17.41 kB / 498.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.1607, allocations: 15.44 kB / 498.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1607, allocations: 0 / 498.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Templates: time 0.006077/0.1668, allocations: 1.92 MB / 0.4885 GB, free: 10.63 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)