Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 115 kB / 17.33 MB, free: 6.008 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.00125/0.00125, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.311/1.311, allocations: 222.9 MB / 241.9 MB, free: 13.72 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.2206/0.2206, allocations: 44.19 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 68.97 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.102, allocations: 60.81 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003647/0.1057, allocations: 1.871 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1073, allocations: 0.8536 MB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.787e-05/0.1074, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1077, allocations: 51.84 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.108, allocations: 71.67 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.1085, allocations: 142.9 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.1088, allocations: 191.5 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1089, allocations: 25.06 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1091, allocations: 79.69 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.1092, allocations: 99.62 kB / 472.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1093, allocations: 16 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1094, allocations: 39.98 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1095, allocations: 47.83 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.237e-05/0.1096, allocations: 67.59 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.1099, allocations: 179.7 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1099, allocations: 3.938 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1099, allocations: 0 / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1099, allocations: 0 / 472.4 MB, free: 10.98 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.001142/0.1111, allocations: 0.5566 MB / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1111, allocations: 15.97 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.225e-05/0.1112, allocations: 20.73 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1115, allocations: 232.9 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1116, allocations: 384 / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.1116, allocations: 12.12 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.1121, allocations: 137.5 kB / 473.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1122, allocations: 4 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1122, allocations: 0 / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1122, allocations: 4 kB / 473.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.1129, allocations: 163.7 kB / 473.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.1135, allocations: 376.4 kB / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.1143, allocations: 194.4 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.1147, allocations: 92.77 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.1147, allocations: 0 / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005858/0.1153, allocations: 167.2 kB / 474.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.405e-06/0.1153, allocations: 0 / 474.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003769/0.1191, allocations: 0.8111 MB / 475.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1192, allocations: 59.34 kB / 475.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.1194, allocations: 232 kB / 475.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.1195, allocations: 37.69 kB / 475.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/0.1196, allocations: 120.1 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.1196, allocations: 31.47 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.774e-05/0.1197, allocations: 37.7 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1199, allocations: 334.8 kB / 476 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/0.1206, allocations: 163.8 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/0.1213, allocations: 172.4 kB / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.1225, allocations: 370.2 kB / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1226, allocations: 0 / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001436/0.124, allocations: 451.2 kB / 477.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.1241, allocations: 63.39 kB / 477.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1241, allocations: 0 / 477.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1241, allocations: 7.938 kB / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.1245, allocations: 75.84 kB / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.1245, allocations: 3.938 kB / 477.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.125, allocations: 67.91 kB / 477.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.125, allocations: 4 kB / 477.4 MB, free: 5.773 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.0001426/0.1251, allocations: 129.8 kB / 477.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.1252, allocations: 15.81 kB / 477.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.1267, allocations: 410.7 kB / 477.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1267, allocations: 4 kB / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1267, allocations: 3.938 kB / 477.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1267, allocations: 0 / 477.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.1284, allocations: 0.6975 MB / 478.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1284, allocations: 4 kB / 478.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.1288, allocations: 67.84 kB / 478.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1288, allocations: 3.938 kB / 478.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.1289, allocations: 4 kB / 478.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1289, allocations: 0 / 478.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.1289, allocations: 4 kB / 478.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.1303, allocations: 478.8 kB / 479.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.1304, allocations: 100.8 kB / 479.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.1304, allocations: 0 / 479.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.1309, allocations: 63.91 kB / 479.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.131, allocations: 47.94 kB / 479.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1311, allocations: 7.984 kB / 479.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1312, allocations: 176.6 kB / 479.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1313, allocations: 0 / 479.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.1316, allocations: 43.91 kB / 479.6 MB, free: 3.445 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.000966/0.1326, allocations: 418.1 kB / 480 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.1342, allocations: 478.3 kB / 480.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1342, allocations: 0 / 480.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.1349, allocations: 179.8 kB / 480.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1353, allocations: 39.45 kB / 480.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.1363, allocations: 394.8 kB / 481.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1366, allocations: 0.724 MB / 481.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.1367, allocations: 17.44 kB / 481.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.1368, allocations: 19.42 kB / 481.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1368, allocations: 0 / 481.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of Templates: time 0.006346/0.1432, allocations: 3.252 MB / 485.1 MB, free: 14.05 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)