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.001123/0.001123, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001235/0.001235, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.316/1.316, allocations: 222.9 MB / 243 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.2071/0.2071, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.84 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1018, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003037/0.1048, allocations: 1.817 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1061, allocations: 0.8809 MB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.1062, allocations: 4 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.1064, allocations: 59.69 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.1067, allocations: 79.53 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.1072, allocations: 210.9 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.1074, allocations: 199.4 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1076, allocations: 21.5 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1077, allocations: 83.67 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1078, allocations: 99.62 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.1079, allocations: 16 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.81e-05/0.1079, allocations: 43.98 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.108, allocations: 39.89 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.91e-05/0.1081, allocations: 79.53 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1084, allocations: 179.4 kB / 474.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1084, allocations: 0 / 474.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1084, allocations: 0 / 474.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1084, allocations: 0 / 474.5 MB, free: 9.836 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.0009826/0.1094, allocations: 0.5643 MB / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.1094, allocations: 12.03 kB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.1095, allocations: 16.75 kB / 475.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1097, allocations: 228.7 kB / 475.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1097, allocations: 8.375 kB / 475.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.1098, allocations: 12.03 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.1102, allocations: 145.5 kB / 475.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1103, allocations: 4 kB / 475.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1103, allocations: 3.984 kB / 475.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1103, allocations: 4 kB / 475.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000663/0.111, allocations: 167.8 kB / 475.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007825/0.1118, allocations: 424.5 kB / 476.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/0.1125, allocations: 198.4 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.1129, allocations: 100.8 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.113, allocations: 0 / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.1135, allocations: 163.2 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1135, allocations: 0 / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003385/0.1169, allocations: 0.8347 MB / 477.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1169, allocations: 67.44 kB / 477.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1171, allocations: 239.1 kB / 477.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1172, allocations: 29.69 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.1173, allocations: 132 kB / 477.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.1173, allocations: 27.56 kB / 477.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.1174, allocations: 33.7 kB / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1175, allocations: 334.8 kB / 478.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006484/0.1182, allocations: 175.8 kB / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.1188, allocations: 187.2 kB / 478.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.12, allocations: 367.9 kB / 478.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.12, allocations: 4 kB / 478.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001412/0.1214, allocations: 464.4 kB / 479.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.1215, allocations: 67.39 kB / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1215, allocations: 0 / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1215, allocations: 0 / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.1219, allocations: 71.84 kB / 479.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1219, allocations: 3.938 kB / 479.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.1223, allocations: 63.91 kB / 479.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1224, allocations: 4 kB / 479.6 MB, free: 4.484 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.0001252/0.1225, allocations: 137.8 kB / 479.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.1225, allocations: 15.81 kB / 479.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.124, allocations: 422.6 kB / 480.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.124, allocations: 4 kB / 480.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.124, allocations: 3.938 kB / 480.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.124, allocations: 0 / 480.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.1256, allocations: 0.7209 MB / 480.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1257, allocations: 0 / 480.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.126, allocations: 63.91 kB / 480.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.126, allocations: 7.875 kB / 480.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.1261, allocations: 7.984 kB / 480.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1261, allocations: 0 / 480.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1261, allocations: 4 kB / 480.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.1274, allocations: 479 kB / 481.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.1275, allocations: 92.86 kB / 481.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.1275, allocations: 12.5 kB / 481.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.1279, allocations: 67.89 kB / 481.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.1281, allocations: 43.94 kB / 481.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.1281, allocations: 4 kB / 481.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1283, allocations: 180.4 kB / 481.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1283, allocations: 0 / 481.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1286, allocations: 51.94 kB / 481.8 MB, free: 2.098 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.0009437/0.1295, allocations: 414.9 kB / 482.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.131, allocations: 478.4 kB / 482.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.131, allocations: 0 / 482.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.1317, allocations: 199.5 kB / 482.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.132, allocations: 43.23 kB / 483 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/0.1329, allocations: 363 kB / 483.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1332, allocations: 0.724 MB / 484 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.1333, allocations: 33.39 kB / 484.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.1334, allocations: 19.44 kB / 484.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1334, allocations: 4 kB / 484.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Templates: time 0.006378/0.1398, allocations: 3.529 MB / 487.6 MB, free: 12.42 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 -s gbode -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)