Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001464, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2737/0.2737, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 81.52 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1311, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003295/0.1344, allocations: 1.652 MB / 481.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1355, allocations: 0.5883 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.1356, allocations: 0 / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006638/0.1363, allocations: 447.1 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.1368, allocations: 299.3 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.1373, allocations: 178.6 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.1376, allocations: 171.6 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1377, allocations: 27.97 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1379, allocations: 103.8 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.1382, allocations: 219.5 kB / 483.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1382, allocations: 4 kB / 483.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.1383, allocations: 24 kB / 483.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1384, allocations: 83.69 kB / 484 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.1386, allocations: 107 kB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.1389, allocations: 271.2 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.139, allocations: 4 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.139, allocations: 0 / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.139, allocations: 0 / 484.3 MB, free: 0.9961 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000918/0.1399, allocations: 0.6414 MB / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.14, allocations: 8.031 kB / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.14, allocations: 34.75 kB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.1401, allocations: 44.38 kB / 485.1 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1405, allocations: 300.1 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1405, allocations: 4.375 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.1405, allocations: 8.375 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1407, allocations: 57.55 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1407, allocations: 0 / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1407, allocations: 8 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1407, allocations: 0 / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1409, allocations: 27.97 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.1415, allocations: 408.6 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1417, allocations: 50.48 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.1418, allocations: 16.86 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1418, allocations: 0 / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.1419, allocations: 34.64 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1419, allocations: 4 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006867/0.1426, allocations: 240.1 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.1426, allocations: 55.39 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009625/0.1436, allocations: 0.8776 MB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1436, allocations: 25.7 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.1438, allocations: 224.1 kB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1439, allocations: 23.73 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1439, allocations: 13.72 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.1442, allocations: 366.8 kB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.1442, allocations: 23.92 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.1443, allocations: 20.17 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1445, allocations: 60.77 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1445, allocations: 4 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002468/0.1447, allocations: 121.1 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1448, allocations: 4 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1448, allocations: 4 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1448, allocations: 3.984 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.1449, allocations: 11.98 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1449, allocations: 0 / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.145, allocations: 7.938 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.145, allocations: 12 kB / 488 MB, free: 13.05 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0002145/0.1452, allocations: 213.7 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.1453, allocations: 43.44 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.1456, allocations: 137.2 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1456, allocations: 0 / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1456, allocations: 0 / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.1456, allocations: 7.938 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.1462, allocations: 478.4 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1463, allocations: 0 / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.1463, allocations: 12 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1463, allocations: 0 / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1463, allocations: 8.109 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1464, allocations: 4 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1464, allocations: 0 / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1467, allocations: 223 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.1468, allocations: 116.5 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.1468, allocations: 3.938 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.1469, allocations: 7.984 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.147, allocations: 3.938 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.147, allocations: 4 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007006/0.1477, allocations: 0.6667 MB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1477, allocations: 0 / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.148, allocations: 20 kB / 490 MB, free: 11.03 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002078/0.1501, allocations: 1.05 MB / 491 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1503, allocations: 63.89 kB / 491.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1503, allocations: 0 / 491.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.1504, allocations: 23.98 kB / 491.1 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1508, allocations: 31.53 kB / 491.1 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.1548, allocations: 3.32 MB / 494.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.1553, allocations: 0.826 MB / 495.3 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.1553, allocations: 16.64 kB / 495.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.1555, allocations: 119.4 kB / 495.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1555, allocations: 4 kB / 495.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.1836, allocations: 5.984 MB / 0.4896 GB, free: 15.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.147, allocations: 7.891 kB / 0.4897 GB, free: 15.66 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1)