Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, 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.001443/0.001443, 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.48/1.48, 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.2331/0.2331, 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.002442/0.002442, allocations: 88.25 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.127, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003984/0.1311, allocations: 1.675 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1323, allocations: 0.5844 MB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1325, allocations: 0 / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.1328, allocations: 51.75 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.1332, allocations: 87.61 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.1338, allocations: 184.6 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.134, allocations: 91.75 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1342, allocations: 20.22 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.1343, allocations: 39.84 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1344, allocations: 35.84 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1344, allocations: 4 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1346, allocations: 55.95 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.1346, allocations: 27.92 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.1347, allocations: 27.75 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.135, allocations: 119.9 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.135, allocations: 0 / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.135, allocations: 0 / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.135, allocations: 0 / 483.2 MB, free: 2.105 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.0006788/0.1357, allocations: 423 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1357, allocations: 8.031 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.1358, allocations: 30.75 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.1358, allocations: 16.75 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1361, allocations: 204.1 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1361, allocations: 4.359 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1362, allocations: 4.375 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1364, allocations: 73.55 kB / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1364, allocations: 4 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1364, allocations: 0 / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1365, allocations: 0 / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1366, allocations: 43.95 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.1372, allocations: 332.5 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.1375, allocations: 62.55 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.1376, allocations: 32.95 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.1377, allocations: 4 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1377, allocations: 30.56 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1377, allocations: 0 / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001641/0.1394, allocations: 428.8 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1394, allocations: 59.33 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.1396, allocations: 186.2 kB / 485.1 MB, free: 0 / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1397, allocations: 25.7 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.1398, allocations: 108 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.1398, allocations: 39.45 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.1399, allocations: 21.72 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.14, allocations: 322.8 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1402, allocations: 55.95 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1403, allocations: 55.95 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.1407, allocations: 133 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1407, allocations: 0 / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003722/0.141, allocations: 165.4 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1411, allocations: 8 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1411, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1411, allocations: 3.938 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1412, allocations: 27.98 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1412, allocations: 0 / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.487e-05/0.1413, allocations: 11.98 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1413, allocations: 4 kB / 486.1 MB, free: 15 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.0001231/0.1415, allocations: 125.8 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.1415, allocations: 19.75 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.142, allocations: 190.8 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.142, allocations: 7.938 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.142, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.142, allocations: 4 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000836/0.1429, allocations: 0.5 MB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1429, allocations: 4 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.143, allocations: 23.98 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.143, allocations: 0 / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.143, allocations: 12.08 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1431, allocations: 3.938 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1431, allocations: 3.938 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.1436, allocations: 273 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/0.1437, allocations: 92.94 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1437, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1438, allocations: 19.98 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.1439, allocations: 7.984 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1439, allocations: 4 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.144, allocations: 135.2 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.144, allocations: 3.938 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1443, allocations: 31.98 kB / 487.5 MB, free: 13.44 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.002372/0.1467, allocations: 1.155 MB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.1471, allocations: 139.8 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1471, allocations: 0 / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.1473, allocations: 72.02 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.1477, allocations: 21.06 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.1503, allocations: 1.883 MB / 490.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.1507, allocations: 0.7235 MB / 491.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.1509, allocations: 28.53 kB / 491.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.1509, allocations: 35.42 kB / 491.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.151, allocations: 4 kB / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.1766, allocations: 3.387 MB / 495 MB, free: 6.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.286, allocations: 8.578 kB / 495 MB, free: 6.094 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_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_CombiTable2Dv_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1)