Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 104.1 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.001458/0.001458, 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.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2315/0.2315, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002307/0.002307, allocations: 90.03 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1301, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00313/0.1332, allocations: 1.663 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1343, allocations: 0.5806 MB / 482.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.1344, allocations: 0 / 482.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.135, allocations: 459.1 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.1355, allocations: 295.2 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.1359, allocations: 178 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1361, allocations: 175.6 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1363, allocations: 23.98 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1365, allocations: 111.8 kB / 483.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.1367, allocations: 215.6 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.1368, allocations: 4 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.1369, allocations: 27.98 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.137, allocations: 95.61 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.704e-05/0.1371, allocations: 103 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1374, allocations: 275.2 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1374, allocations: 0 / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1374, allocations: 3.984 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1374, allocations: 0 / 484.4 MB, free: 0.9336 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.0008325/0.1383, allocations: 0.6453 MB / 485 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1383, allocations: 8.031 kB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.1383, allocations: 30.75 kB / 485.1 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.1384, allocations: 48.38 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.1388, allocations: 308.1 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1388, allocations: 4.375 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1388, allocations: 4.312 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.139, allocations: 61.61 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.139, allocations: 3.906 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.139, allocations: 4 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.139, allocations: 0 / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.1392, allocations: 47.95 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.1397, allocations: 400.7 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1399, allocations: 50.5 kB / 486 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.259e-05/0.14, allocations: 32.92 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.14, allocations: 0 / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.14, allocations: 34.5 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.14, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008875/0.1409, allocations: 315.9 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.141, allocations: 51.41 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00089/0.1419, allocations: 0.8776 MB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.1419, allocations: 25.7 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1421, allocations: 220 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1422, allocations: 19.7 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1422, allocations: 21.66 kB / 487.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1424, allocations: 370.8 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1426, allocations: 35.97 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1427, allocations: 39.97 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.1429, allocations: 84.73 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1429, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003401/0.1433, allocations: 169 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1433, allocations: 6.656 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1433, allocations: 0 / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1433, allocations: 4 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1435, allocations: 19.98 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1435, allocations: 3.984 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.1436, allocations: 15.94 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1436, allocations: 320 / 488.3 MB, free: 12.78 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 (7): * Single equations (assignments): 7 * 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.0001992/0.1438, allocations: 217.7 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.1439, allocations: 43.72 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.1443, allocations: 185.5 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1443, allocations: 3.984 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1443, allocations: 4 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1443, allocations: 3.938 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007176/0.145, allocations: 0.5139 MB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.145, allocations: 4 kB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.1451, allocations: 15.98 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1451, allocations: 7.984 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1452, allocations: 7.938 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1452, allocations: 0 / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1452, allocations: 0 / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.1455, allocations: 258.8 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.1456, allocations: 108.5 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.1457, allocations: 15.94 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1458, allocations: 7.984 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.1458, allocations: 7.984 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1459, allocations: 0 / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006775/0.1465, allocations: 0.6589 MB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1465, allocations: 0 / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1468, allocations: 28 kB / 490.4 MB, free: 10.6 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 (7): * Single equations (assignments): 7 * 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.002045/0.1489, allocations: 1.09 MB / 491.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.1492, allocations: 95.91 kB / 491.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1492, allocations: 4 kB / 491.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1493, allocations: 51.91 kB / 491.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1498, allocations: 27.91 kB / 491.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.1538, allocations: 3.415 MB / 495 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.1543, allocations: 0.8299 MB / 495.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.756e-05/0.1544, allocations: 20.66 kB / 495.9 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.1546, allocations: 119.4 kB / 496 MB, free: 4.957 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1546, allocations: 0 / 496 MB, free: 4.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.1838, allocations: 6.134 MB / 0.4904 GB, free: 14.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.164, allocations: 1.078 kB / 0.4904 GB, free: 14.89 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_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_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1)