Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108 kB / 15.6 MB, free: 132 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.001641/0.001641, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.941/1.941, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.3722/0.3722, allocations: 38 MB / 307.8 MB, free: 10.04 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.001953/0.001953, allocations: 82.55 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1363, allocations: 56.45 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004025/0.1404, allocations: 1.677 MB / 433.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1419, allocations: 0.8324 MB / 434.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1421, allocations: 0 / 434.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.1424, allocations: 39.77 kB / 434.3 MB, free: 4.039 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.0002972/0.1428, allocations: 55.75 kB / 434.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1431, allocations: 87.64 kB / 434.4 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1433, allocations: 99.69 kB / 434.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1435, allocations: 20.2 kB / 434.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1436, allocations: 39.78 kB / 434.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1437, allocations: 35.84 kB / 434.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.1438, allocations: 4 kB / 434.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.144, allocations: 63.97 kB / 434.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.1441, allocations: 19.91 kB / 434.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.1442, allocations: 35.75 kB / 434.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1445, allocations: 123.9 kB / 434.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1445, allocations: 4 kB / 434.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1445, allocations: 0 / 434.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1445, allocations: 0 / 434.8 MB, free: 3.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007757/0.1453, allocations: 403.2 kB / 435.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1454, allocations: 15.89 kB / 435.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.1454, allocations: 8.844 kB / 435.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1457, allocations: 215.6 kB / 435.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1457, allocations: 8.375 kB / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1458, allocations: 4.125 kB / 435.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.146, allocations: 83.33 kB / 435.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.146, allocations: 0 / 435.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.146, allocations: 0 / 435.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.146, allocations: 0 / 435.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1462, allocations: 31.97 kB / 435.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.1468, allocations: 284.8 kB / 435.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.147, allocations: 66.48 kB / 435.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.1471, allocations: 24.97 kB / 436 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1471, allocations: 3.938 kB / 436 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003887/0.1475, allocations: 71.3 kB / 436 MB, free: 2.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.1475, allocations: 0 / 436 MB, free: 2.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007664/0.1483, allocations: 181.2 kB / 436.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.1484, allocations: 81.05 kB / 436.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1486, allocations: 149.8 kB / 436.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1487, allocations: 33.7 kB / 436.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.1488, allocations: 88.14 kB / 436.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.1488, allocations: 35.7 kB / 436.6 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.1489, allocations: 17.72 kB / 436.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.1491, allocations: 330.8 kB / 436.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.1492, allocations: 23.98 kB / 437 MB, free: 1.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.1493, allocations: 42.56 kB / 437 MB, free: 1.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1494, allocations: 65.64 kB / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1494, allocations: 0 / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002198/0.1497, allocations: 113.4 kB / 437.2 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1497, allocations: 8.062 kB / 437.2 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.1497, allocations: 4 kB / 437.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1497, allocations: 3.938 kB / 437.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1499, allocations: 12 kB / 437.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.1499, allocations: 7.984 kB / 437.2 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.1499, allocations: 7.938 kB / 437.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.15, allocations: 4.188 kB / 437.2 MB, free: 0.832 MB / 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 (11): * Single equations (assignments): 11 * 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.0001247/0.1501, allocations: 121.8 kB / 437.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1501, allocations: 11.84 kB / 437.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.1502, allocations: 24.7 kB / 437.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1502, allocations: 0 / 437.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1502, allocations: 0 / 437.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1502, allocations: 3.938 kB / 437.4 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.1508, allocations: 395.3 kB / 437.8 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1508, allocations: 0 / 437.8 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.1509, allocations: 12 kB / 437.8 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1509, allocations: 4.016 kB / 437.8 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1509, allocations: 11.92 kB / 437.8 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1509, allocations: 4 kB / 437.8 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1509, allocations: 0 / 437.8 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.1512, allocations: 200.8 kB / 438 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1513, allocations: 89.02 kB / 438.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.1513, allocations: 7.938 kB / 438.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.1514, allocations: 7.984 kB / 438.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1515, allocations: 8 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1515, allocations: 4 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.1516, allocations: 118.7 kB / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1516, allocations: 0 / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000312/0.1519, allocations: 35.98 kB / 438.3 MB, free: 15.69 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 (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.001383/0.1533, allocations: 0.5007 MB / 438.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1536, allocations: 71.91 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1536, allocations: 0 / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.1537, allocations: 27.98 kB / 438.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1541, allocations: 39.7 kB / 438.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.1548, allocations: 202.9 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1551, allocations: 0.6963 MB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.428e-05/0.1552, allocations: 21.02 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.1553, allocations: 15.44 kB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1553, allocations: 4 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of Templates: time 0.006302/0.1616, allocations: 2.041 MB / 441.9 MB, free: 12.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)