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.00153/0.001531, allocations: 102.5 kB / 17.63 MB, free: 5.344 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.001849/0.001849, allocations: 192 kB / 18.56 MB, free: 4.434 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.368/1.368, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2073/0.2073, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 60.59 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.1004, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003205/0.1037, allocations: 1.814 MB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1051, allocations: 0.877 MB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.1052, allocations: 4 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1054, allocations: 67.72 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.1057, allocations: 79.53 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.1063, allocations: 206.3 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.1065, allocations: 199.4 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1067, allocations: 29.41 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1068, allocations: 75.75 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.107, allocations: 103.6 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.107, allocations: 12 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1071, allocations: 43.98 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.1072, allocations: 43.88 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.273e-05/0.1073, allocations: 75.53 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1076, allocations: 187.7 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1076, allocations: 0 / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1076, allocations: 0 / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1076, allocations: 0 / 473.2 MB, free: 10.45 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.001067/0.1087, allocations: 0.5721 MB / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1087, allocations: 8.031 kB / 473.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.1088, allocations: 38.75 kB / 473.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.1088, allocations: 20.66 kB / 473.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1091, allocations: 235.9 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1091, allocations: 4.375 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.1091, allocations: 7.938 kB / 474 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.1096, allocations: 149.5 kB / 474.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1097, allocations: 0 / 474.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1097, allocations: 3.984 kB / 474.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1097, allocations: 4 kB / 474.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007512/0.1104, allocations: 163.8 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/0.1113, allocations: 436.4 kB / 474.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/0.1121, allocations: 194.3 kB / 475 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.1125, allocations: 96.75 kB / 475.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1125, allocations: 4 kB / 475.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.1131, allocations: 167.2 kB / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1131, allocations: 0 / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003787/0.1169, allocations: 0.8363 MB / 476.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.117, allocations: 59.44 kB / 476.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1172, allocations: 251.1 kB / 476.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1173, allocations: 25.7 kB / 476.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.1173, allocations: 124.3 kB / 476.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.1174, allocations: 47.44 kB / 476.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.1175, allocations: 33.7 kB / 476.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1176, allocations: 330.8 kB / 476.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/0.1184, allocations: 175.8 kB / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/0.1191, allocations: 171.8 kB / 477.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.1204, allocations: 382 kB / 477.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1205, allocations: 4 kB / 477.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001523/0.122, allocations: 468.4 kB / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.122, allocations: 63.39 kB / 478.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1221, allocations: 0 / 478.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1221, allocations: 0 / 478.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.1225, allocations: 79.84 kB / 478.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1225, allocations: 0 / 478.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.1229, allocations: 63.91 kB / 478.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.123, allocations: 4 kB / 478.3 MB, free: 5.016 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.0001266/0.1231, allocations: 145.8 kB / 478.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.1232, allocations: 19.72 kB / 478.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.1247, allocations: 415.9 kB / 478.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1247, allocations: 3.938 kB / 478.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1247, allocations: 4 kB / 478.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1247, allocations: 112 / 478.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.1266, allocations: 0.7323 MB / 479.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1266, allocations: 0 / 479.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.127, allocations: 75.83 kB / 479.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.127, allocations: 0 / 479.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.127, allocations: 4 kB / 479.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.127, allocations: 0 / 479.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.127, allocations: 0 / 479.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.1285, allocations: 494 kB / 480.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.1286, allocations: 100.8 kB / 480.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.1286, allocations: 4 kB / 480.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.1291, allocations: 59.91 kB / 480.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.1292, allocations: 47.94 kB / 480.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1293, allocations: 8 kB / 480.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1294, allocations: 184.6 kB / 480.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1294, allocations: 0 / 480.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.1298, allocations: 44 kB / 480.6 MB, free: 2.609 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.00263/0.1324, allocations: 1.329 MB / 481.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.134, allocations: 490.3 kB / 482.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.134, allocations: 0 / 482.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007677/0.1348, allocations: 191.7 kB / 482.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1352, allocations: 40.25 kB / 482.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.1413, allocations: 2.85 MB / 485.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1416, allocations: 0.7358 MB / 486.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.1418, allocations: 29.41 kB / 486.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.1419, allocations: 59.41 kB / 486.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1419, allocations: 0 / 486.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.1631, allocations: 5.61 MB / 491.9 MB, free: 7.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/7.937, allocations: 14.2 kB / 491.9 MB, free: 7.352 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)