Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.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.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2542/0.2542, allocations: 46.12 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.002282/0.002282, allocations: 79.34 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1268, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003213/0.13, allocations: 1.681 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.1311, allocations: 0.5532 MB / 482.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.1311, allocations: 4 kB / 482.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1313, allocations: 59.72 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1317, allocations: 99.58 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.132, allocations: 131 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1322, allocations: 83.8 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1323, allocations: 24.23 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.084e-05/0.1323, allocations: 39.77 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.719e-05/0.1324, allocations: 51.84 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1325, allocations: 4 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1326, allocations: 47.97 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.1327, allocations: 19.92 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.1327, allocations: 39.73 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.1329, allocations: 111.9 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1329, allocations: 0 / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1329, allocations: 0 / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1329, allocations: 4 kB / 483.2 MB, free: 2.16 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.0005853/0.1335, allocations: 423 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1336, allocations: 8.031 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/0.1336, allocations: 42.69 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1337, allocations: 12.75 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1339, allocations: 200.1 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1339, allocations: 8.312 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.134, allocations: 4.375 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1342, allocations: 65.59 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1342, allocations: 7.938 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1342, allocations: 4 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1342, allocations: 0 / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.1344, allocations: 39.97 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.1348, allocations: 300.7 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.135, allocations: 66.58 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.1351, allocations: 24.97 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1352, allocations: 8 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1352, allocations: 34.55 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1352, allocations: 0 / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001534/0.1367, allocations: 397.2 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1368, allocations: 55.34 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.137, allocations: 199.3 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1371, allocations: 25.7 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.1372, allocations: 108.1 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.1372, allocations: 35.45 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.1373, allocations: 29.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1374, allocations: 326.8 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1376, allocations: 39.97 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1377, allocations: 43.97 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.138, allocations: 93.14 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.138, allocations: 4.062 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003446/0.1383, allocations: 157.3 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1384, allocations: 7.938 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.1384, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1384, allocations: 3.938 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1385, allocations: 23.98 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1385, allocations: 11.98 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.1386, allocations: 4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1386, allocations: 7.984 kB / 485.9 MB, free: 15.16 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.000118/0.1387, allocations: 125.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.1388, allocations: 11.91 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.1392, allocations: 174.8 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1392, allocations: 7.875 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1393, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.1393, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007428/0.14, allocations: 479.9 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.14, allocations: 4 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1401, allocations: 31.97 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1402, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1402, allocations: 4 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1402, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1402, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.1406, allocations: 257 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.1407, allocations: 88.92 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.1407, allocations: 3.984 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1408, allocations: 15.94 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.1409, allocations: 11.98 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.1409, allocations: 4 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.141, allocations: 147.9 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.141, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1413, allocations: 28 kB / 487.3 MB, free: 13.68 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.002314/0.1436, allocations: 1.143 MB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.144, allocations: 111.9 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.144, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1442, allocations: 59.89 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1446, allocations: 17.23 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.1471, allocations: 1.807 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1475, allocations: 0.708 MB / 491.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.415e-05/0.1475, allocations: 12.73 kB / 491.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.1476, allocations: 39.42 kB / 491.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1476, allocations: 3.938 kB / 491.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.1744, allocations: 3.307 MB / 494.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.175, allocations: 5.062 kB / 494.5 MB, free: 6.566 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1)