Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2285/0.2285, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002367/0.002367, allocations: 79.2 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1236, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.004186/0.1279, allocations: 1.685 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1291, allocations: 0.5805 MB / 482.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.1292, allocations: 0 / 482.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.13, allocations: 467.1 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005508/0.1305, allocations: 295.3 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.131, allocations: 178.7 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.1314, allocations: 179.7 kB / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1315, allocations: 20.22 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1317, allocations: 127.6 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.1321, allocations: 211.6 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.1321, allocations: 4 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1322, allocations: 43.98 kB / 484 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1324, allocations: 87.67 kB / 484.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1325, allocations: 114.9 kB / 484.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.133, allocations: 279.1 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.133, allocations: 4 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.133, allocations: 7.875 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.133, allocations: 0 / 484.4 MB, free: 0.8867 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001032/0.134, allocations: 0.657 MB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1341, allocations: 8.031 kB / 485.1 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.1342, allocations: 34.73 kB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.1343, allocations: 44.38 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.1347, allocations: 308 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1347, allocations: 4.375 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.1347, allocations: 4.375 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1349, allocations: 73.53 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.135, allocations: 4 kB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.135, allocations: 4 kB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.135, allocations: 0 / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.1352, allocations: 43.95 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.1358, allocations: 420.6 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.1361, allocations: 58.55 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.1362, allocations: 32.91 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1362, allocations: 3.984 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1363, allocations: 34.56 kB / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1363, allocations: 0 / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001731/0.138, allocations: 0.5076 MB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1381, allocations: 55.41 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.1391, allocations: 0.8699 MB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1391, allocations: 33.7 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.1393, allocations: 216.1 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.1394, allocations: 31.47 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.1394, allocations: 29.7 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.1396, allocations: 362.8 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.1398, allocations: 47.97 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.14, allocations: 60.06 kB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.1403, allocations: 132.9 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1403, allocations: 0 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004153/0.1407, allocations: 197 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1407, allocations: 8 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1408, allocations: 0 / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.1408, allocations: 7.938 kB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1409, allocations: 27.92 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1409, allocations: 0 / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.968e-05/0.141, allocations: 11.98 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.141, allocations: 4 kB / 488.7 MB, free: 12.36 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 (11): * Single equations (assignments): 11 * 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.0002445/0.1413, allocations: 225.7 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.1414, allocations: 47.38 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005152/0.1419, allocations: 233.3 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1419, allocations: 3.938 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1419, allocations: 0 / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1419, allocations: 0 / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000913/0.1429, allocations: 0.6053 MB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1429, allocations: 0 / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.143, allocations: 31.97 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.143, allocations: 0 / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.143, allocations: 0 / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.143, allocations: 12 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.143, allocations: 0 / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.1435, allocations: 300.5 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.1436, allocations: 124.5 kB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.1436, allocations: 4 kB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1438, allocations: 12.17 kB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1438, allocations: 7.938 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1438, allocations: 8 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006756/0.1445, allocations: 0.6589 MB / 491 MB, free: 9.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1445, allocations: 0 / 491 MB, free: 9.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1448, allocations: 35.98 kB / 491 MB, free: 9.945 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002464/0.1473, allocations: 1.186 MB / 492.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.1477, allocations: 139.8 kB / 492.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1477, allocations: 4 kB / 492.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.1479, allocations: 71.89 kB / 492.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.1484, allocations: 31.12 kB / 492.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.1532, allocations: 3.588 MB / 496 MB, free: 4.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.1538, allocations: 0.8416 MB / 496.9 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.154, allocations: 28.53 kB / 496.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.1542, allocations: 127.4 kB / 497 MB, free: 3.953 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1542, allocations: 0 / 497 MB, free: 3.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.1907, allocations: 6.556 MB / 0.4918 GB, free: 13.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.311, allocations: 5.078 kB / 0.4918 GB, free: 13.45 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_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_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1)