Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001238/0.001238, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2128/0.2128, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 68.95 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1095, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003444/0.113, allocations: 1.813 MB / 471.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1146, allocations: 0.8887 MB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1147, allocations: 0 / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.115, allocations: 59.67 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.1154, allocations: 79.59 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.116, allocations: 206.5 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.1163, allocations: 199.4 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1165, allocations: 21.48 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1166, allocations: 87.67 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1168, allocations: 107.6 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.1169, allocations: 12 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.117, allocations: 40 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.1171, allocations: 47.81 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.436e-05/0.1172, allocations: 67.59 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1175, allocations: 183.7 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1175, allocations: 0 / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1175, allocations: 0 / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1175, allocations: 0 / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0011/0.1186, allocations: 0.5605 MB / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1187, allocations: 8.031 kB / 474.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.1188, allocations: 16.75 kB / 474.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.119, allocations: 236.7 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.119, allocations: 8.312 kB / 474.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.1191, allocations: 12.03 kB / 474.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.1196, allocations: 145.5 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1196, allocations: 0 / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1196, allocations: 4 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1197, allocations: 0 / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.1204, allocations: 167.8 kB / 474.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008471/0.1213, allocations: 432.5 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.1221, allocations: 210.3 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.1225, allocations: 88.77 kB / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1225, allocations: 0 / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/0.1231, allocations: 175.2 kB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1231, allocations: 0 / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003906/0.127, allocations: 0.8237 MB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1271, allocations: 63.44 kB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1273, allocations: 243.1 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1274, allocations: 25.7 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.1274, allocations: 128 kB / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.1275, allocations: 35.55 kB / 477.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.1276, allocations: 37.7 kB / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1277, allocations: 326.9 kB / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007413/0.1284, allocations: 175.7 kB / 477.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007204/0.1292, allocations: 179.7 kB / 477.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.1306, allocations: 378.4 kB / 478.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1306, allocations: 4 kB / 478.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001588/0.1322, allocations: 468.4 kB / 478.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.1323, allocations: 55.41 kB / 478.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1323, allocations: 3.984 kB / 478.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1323, allocations: 4 kB / 478.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.1328, allocations: 75.84 kB / 478.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1328, allocations: 3.938 kB / 478.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.1332, allocations: 59.91 kB / 478.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1332, allocations: 8 kB / 478.8 MB, free: 5.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001355/0.1334, allocations: 133.8 kB / 478.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.1334, allocations: 15.81 kB / 478.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.135, allocations: 430.6 kB / 479.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.135, allocations: 0 / 479.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1351, allocations: 3.938 kB / 479.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1351, allocations: 4 kB / 479.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.137, allocations: 0.7131 MB / 480.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.137, allocations: 0 / 480.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.1374, allocations: 75.84 kB / 480.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.1374, allocations: 3.938 kB / 480.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.1375, allocations: 0 / 480.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1375, allocations: 4 kB / 480.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1375, allocations: 0 / 480.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.139, allocations: 487 kB / 480.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.1391, allocations: 96.86 kB / 480.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.1392, allocations: 4 kB / 480.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.1396, allocations: 59.91 kB / 480.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.1398, allocations: 47.94 kB / 480.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1398, allocations: 8 kB / 480.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.14, allocations: 180.4 kB / 481 MB, free: 2.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.14, allocations: 0 / 481 MB, free: 2.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.1403, allocations: 47.92 kB / 481.1 MB, free: 2.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009746/0.1413, allocations: 416 kB / 481.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.143, allocations: 490.3 kB / 482 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.143, allocations: 0 / 482 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007709/0.1438, allocations: 191.8 kB / 482.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1442, allocations: 39.92 kB / 482.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1452, allocations: 392.4 kB / 482.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1455, allocations: 0.7279 MB / 483.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.1456, allocations: 19.44 kB / 483.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1456, allocations: 4 kB / 483.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of Templates: time 0.005633/0.1513, allocations: 3.228 MB / 486.5 MB, free: 13.44 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)