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.00111/0.00111, allocations: 110 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.001326/0.001326, allocations: 199.4 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.451/1.451, 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.2148/0.2148, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 63.64 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 60.81 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003196/0.1104, allocations: 1.814 MB / 471.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1117, allocations: 0.8613 MB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.1118, allocations: 4 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.112, allocations: 59.72 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1123, allocations: 79.55 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.1127, allocations: 162.6 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.113, allocations: 195.4 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1131, allocations: 25.06 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1132, allocations: 79.67 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.1133, allocations: 95.66 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.1134, allocations: 12 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.1135, allocations: 47.97 kB / 473.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.1136, allocations: 35.91 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.1137, allocations: 79.52 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.1139, allocations: 171.7 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1139, allocations: 3.938 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1139, allocations: 0 / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.114, allocations: 4 kB / 473.6 MB, free: 10.64 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.001062/0.115, allocations: 0.5565 MB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1151, allocations: 16.03 kB / 474.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.1151, allocations: 16.75 kB / 474.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1154, allocations: 220.9 kB / 474.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1154, allocations: 8.312 kB / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1154, allocations: 12.12 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.1159, allocations: 141.5 kB / 474.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.116, allocations: 4 kB / 474.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.116, allocations: 0 / 474.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.116, allocations: 0 / 474.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007719/0.1168, allocations: 167.8 kB / 474.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.1172, allocations: 376.4 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/0.1181, allocations: 194.4 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.1185, allocations: 84.77 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1186, allocations: 4 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.1192, allocations: 167.2 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.023e-06/0.1192, allocations: 0 / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003973/0.1232, allocations: 0.8164 MB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.1232, allocations: 55.34 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.1235, allocations: 240 kB / 476.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1235, allocations: 29.7 kB / 476.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1236, allocations: 120.1 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.1236, allocations: 39.59 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/0.1237, allocations: 41.7 kB / 476.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1239, allocations: 330.8 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007747/0.1246, allocations: 163.8 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.1254, allocations: 163.8 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.1268, allocations: 374.3 kB / 477.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1268, allocations: 0.5625 kB / 477.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00163/0.1285, allocations: 452.4 kB / 478.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.1285, allocations: 59.39 kB / 478.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1285, allocations: 4 kB / 478.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1286, allocations: 4 kB / 478.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.129, allocations: 67.91 kB / 478.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.129, allocations: 11.81 kB / 478.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.1295, allocations: 67.91 kB / 478.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.1295, allocations: 4 kB / 478.6 MB, free: 5.434 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.0001351/0.1297, allocations: 129.8 kB / 478.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.1297, allocations: 15.81 kB / 478.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.1313, allocations: 406.8 kB / 479.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1313, allocations: 3.938 kB / 479.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1314, allocations: 3.938 kB / 479.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1314, allocations: 0 / 479.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.1332, allocations: 0.7013 MB / 479.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1333, allocations: 4 kB / 479.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.1337, allocations: 63.91 kB / 479.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.1337, allocations: 3.938 kB / 479.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.1337, allocations: 11.98 kB / 479.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1337, allocations: 3.938 kB / 479.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1337, allocations: 0 / 479.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.1353, allocations: 471.7 kB / 480.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.1354, allocations: 96.86 kB / 480.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1354, allocations: 11.98 kB / 480.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.1359, allocations: 63.91 kB / 480.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.136, allocations: 47.94 kB / 480.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.136, allocations: 0 / 480.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.1362, allocations: 180.4 kB / 480.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1362, allocations: 0 / 480.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.1365, allocations: 47.91 kB / 480.8 MB, free: 3.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.0009287/0.1375, allocations: 408.2 kB / 481.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.1392, allocations: 482.3 kB / 481.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1392, allocations: 4 kB / 481.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.1399, allocations: 175.8 kB / 481.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1403, allocations: 38.47 kB / 481.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009369/0.1413, allocations: 372.6 kB / 482.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1416, allocations: 0.7239 MB / 483 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1417, allocations: 19.44 kB / 483 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1417, allocations: 0 / 483 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Templates: time 0.005039/0.1467, allocations: 3.132 MB / 486.1 MB, free: 13.86 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)