Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000888/0.0008878, allocations: 97.72 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.006486/0.006486, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.43/1.43, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3273/0.3273, allocations: 38.04 MB / 308.8 MB, free: 10.38 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.0005711/0.0005712, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1396, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002367/0.142, allocations: 1.397 MB / 436 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1435, allocations: 0.7884 MB / 436.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1437, allocations: 0 / 436.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.1441, allocations: 31.91 kB / 436.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.1444, allocations: 43.83 kB / 436.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.1448, allocations: 83.84 kB / 436.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.145, allocations: 91.69 kB / 437 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1452, allocations: 12.22 kB / 437 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1453, allocations: 43.72 kB / 437.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.1454, allocations: 23.86 kB / 437.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1454, allocations: 4 kB / 437.1 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.1456, allocations: 39.97 kB / 437.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.1457, allocations: 15.92 kB / 437.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.283e-05/0.1458, allocations: 57.52 kB / 437.2 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.146, allocations: 111.8 kB / 437.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.146, allocations: 0 / 437.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1461, allocations: 4 kB / 437.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1461, allocations: 0 / 437.3 MB, free: 2.445 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.0006476/0.1467, allocations: 399 kB / 437.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.1468, allocations: 8.031 kB / 437.7 MB, free: 2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.1468, allocations: 12.75 kB / 437.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1471, allocations: 212.1 kB / 437.9 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1472, allocations: 4.375 kB / 437.9 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1472, allocations: 8.125 kB / 437.9 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1474, allocations: 57.61 kB / 438 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1474, allocations: 0 / 438 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1474, allocations: 0 / 438 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1474, allocations: 0 / 438 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.1475, allocations: 19.98 kB / 438 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.1479, allocations: 280.9 kB / 438.3 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1482, allocations: 70.59 kB / 438.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.1482, allocations: 16.86 kB / 438.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1483, allocations: 3.984 kB / 438.4 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1485, allocations: 67.39 kB / 438.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1485, allocations: 4 kB / 438.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005907/0.1491, allocations: 173.5 kB / 438.6 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1491, allocations: 55.39 kB / 438.7 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1493, allocations: 182.2 kB / 438.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1494, allocations: 25.7 kB / 438.9 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.1494, allocations: 112 kB / 439 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.1495, allocations: 23.7 kB / 439 MB, free: 0.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1495, allocations: 17.66 kB / 439 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1496, allocations: 330.8 kB / 439.3 MB, free: 192 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.1497, allocations: 16 kB / 439.4 MB, free: 176 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.1498, allocations: 41.64 kB / 439.4 MB, free: 128 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1499, allocations: 57.7 kB / 439.5 MB, free: 64 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1499, allocations: 0 / 439.5 MB, free: 64 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/0.1501, allocations: 109.5 kB / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1502, allocations: 4 kB / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1502, allocations: 128 / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1502, allocations: 0 / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.1503, allocations: 20 kB / 439.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1503, allocations: 0 / 439.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.1504, allocations: 15.92 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1504, allocations: 192 / 439.6 MB, free: 15.91 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.0001166/0.1505, allocations: 117.8 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.1505, allocations: 23.78 kB / 439.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1506, allocations: 16.7 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1506, allocations: 0 / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1506, allocations: 0 / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1506, allocations: 7.938 kB / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.1511, allocations: 387.3 kB / 440.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1511, allocations: 0 / 440.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.1511, allocations: 11.98 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1512, allocations: 4.031 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1512, allocations: 11.94 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1512, allocations: 0 / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1512, allocations: 0 / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1514, allocations: 200.2 kB / 440.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1515, allocations: 93 kB / 440.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1515, allocations: 7.938 kB / 440.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1516, allocations: 7.938 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.1516, allocations: 7.984 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.1517, allocations: 8 kB / 440.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1518, allocations: 140.1 kB / 440.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1518, allocations: 0 / 440.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1521, allocations: 23.98 kB / 440.6 MB, free: 14.76 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.001018/0.1531, allocations: 469 kB / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1533, allocations: 55.92 kB / 441.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.1533, allocations: 4 kB / 441.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.1534, allocations: 23.98 kB / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1538, allocations: 36.03 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.1543, allocations: 250.5 kB / 441.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1546, allocations: 0.7043 MB / 442.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.311e-05/0.1547, allocations: 16.88 kB / 442.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.1547, allocations: 19.44 kB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1547, allocations: 0 / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of Templates: time 0.004553/0.1593, allocations: 1.621 MB / 443.8 MB, free: 11.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) Environment - environmentSimulation: