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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.000977, allocations: 99.11 kB / 16.98 MB, free: 5.938 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.0009472/0.0009473, allocations: 187.6 kB / 17.87 MB, free: 5.594 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.306/1.306, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2327/0.2327, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1086, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.001963/0.1106, allocations: 1.473 MB / 473 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1118, allocations: 0.788 MB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.1119, allocations: 8 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.1121, allocations: 55.8 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1123, allocations: 75.75 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1127, allocations: 177.3 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1129, allocations: 119.8 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.113, allocations: 17.47 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.1131, allocations: 71.73 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1133, allocations: 83.72 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1133, allocations: 8 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.116e-05/0.1134, allocations: 35.86 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.1134, allocations: 31.89 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.1135, allocations: 45.64 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1137, allocations: 132 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1137, allocations: 4 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1137, allocations: 0 / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1137, allocations: 0 / 474.6 MB, free: 10.54 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.001015/0.1147, allocations: 0.572 MB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1148, allocations: 8.031 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.1148, allocations: 38.56 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.1149, allocations: 19.81 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1151, allocations: 234.6 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1151, allocations: 4 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.1152, allocations: 11.95 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.1157, allocations: 161.5 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1157, allocations: 3.984 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1157, allocations: 7.938 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1157, allocations: 4 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.1165, allocations: 207.8 kB / 475.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.1173, allocations: 456.6 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007839/0.1181, allocations: 242.4 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1181, allocations: 12.06 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/0.1187, allocations: 195.2 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1187, allocations: 0 / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003883/0.1226, allocations: 1.07 MB / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1226, allocations: 59.39 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.1229, allocations: 247.1 kB / 478.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.1229, allocations: 29.7 kB / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.123, allocations: 124.1 kB / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.1231, allocations: 35.55 kB / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.1231, allocations: 4.109 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1232, allocations: 334.7 kB / 478.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00074/0.1239, allocations: 228.3 kB / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.1247, allocations: 219.8 kB / 479.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/0.1254, allocations: 273.5 kB / 479.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1254, allocations: 0 / 479.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00159/0.127, allocations: 0.555 MB / 479.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.1271, allocations: 63.41 kB / 480 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1271, allocations: 3.938 kB / 480 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1271, allocations: 3.938 kB / 480 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.1276, allocations: 91.89 kB / 480.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1276, allocations: 4 kB / 480.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.128, allocations: 95.91 kB / 480.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.1281, allocations: 4 kB / 480.2 MB, free: 4.711 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 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.1282, allocations: 146.3 kB / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1283, allocations: 15.81 kB / 480.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.1299, allocations: 0.5065 MB / 480.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1299, allocations: 4 kB / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1299, allocations: 4 kB / 480.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1299, allocations: 0 / 480.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.1318, allocations: 0.8201 MB / 481.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1318, allocations: 4 kB / 481.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.1322, allocations: 91.91 kB / 481.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.1322, allocations: 0 / 481.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.1322, allocations: 4 kB / 481.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1322, allocations: 3.984 kB / 481.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1322, allocations: 4 kB / 481.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.1338, allocations: 0.577 MB / 482.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.1339, allocations: 88.92 kB / 482.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.1339, allocations: 7.984 kB / 482.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.1344, allocations: 83.91 kB / 482.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.1345, allocations: 59.84 kB / 482.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1346, allocations: 8 kB / 482.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.1347, allocations: 180.6 kB / 482.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.1347, allocations: 0 / 482.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.1351, allocations: 55.92 kB / 482.8 MB, free: 1.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002731/0.1378, allocations: 1.411 MB / 484.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.1395, allocations: 0.5726 MB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1395, allocations: 0 / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007832/0.1403, allocations: 243.6 kB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1406, allocations: 28.64 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.1447, allocations: 1.698 MB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.145, allocations: 0.74 MB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.1451, allocations: 29.41 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.1453, allocations: 51.41 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1453, allocations: 0 / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.1663, allocations: 4.866 MB / 492.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/0.1666, allocations: 217.9 kB / 492.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.126, allocations: 0 / 492.7 MB, free: 8.25 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)