Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, 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.001424/0.001425, 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.531/1.531, 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.2345/0.2345, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002288/0.002288, allocations: 82.55 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1239, allocations: 62.44 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003506/0.1275, allocations: 1.659 MB / 481.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1295, allocations: 1.199 MB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.1295, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.1298, allocations: 39.77 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.13, allocations: 79.62 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.1305, allocations: 171 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1307, allocations: 83.75 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1308, allocations: 19.98 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.1308, allocations: 31.91 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.131, allocations: 41.67 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.131, allocations: 4 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.1312, allocations: 103.9 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.1313, allocations: 19.92 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.1314, allocations: 31.8 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1316, allocations: 151.9 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1316, allocations: 3.938 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1317, allocations: 0 / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1317, allocations: 0 / 483.8 MB, free: 1.461 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.0007023/0.1324, allocations: 419.1 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1324, allocations: 8.031 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.1325, allocations: 42.67 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.1325, allocations: 8.844 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1328, allocations: 202.3 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1328, allocations: 384 / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1328, allocations: 384 / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.133, allocations: 83.31 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1331, allocations: 0 / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1331, allocations: 8 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1331, allocations: 0 / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.1332, allocations: 39.91 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.1337, allocations: 312.8 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1339, allocations: 54.53 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.134, allocations: 24.94 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.134, allocations: 0 / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1341, allocations: 34.5 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.1341, allocations: 4 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009165/0.135, allocations: 233.3 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.1351, allocations: 77.11 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1353, allocations: 168 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1353, allocations: 29.7 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1354, allocations: 92.14 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.1354, allocations: 27.69 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.1354, allocations: 21.72 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1356, allocations: 318.8 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1357, allocations: 39.97 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1359, allocations: 57.67 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.1361, allocations: 84.8 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1361, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003085/0.1364, allocations: 129.5 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1365, allocations: 4 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1365, allocations: 4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.1365, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1366, allocations: 15.98 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1366, allocations: 4 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.5e-05/0.1367, allocations: 15.86 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1367, allocations: 4 kB / 486.3 MB, free: 14.7 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 9.867e-05/0.1368, allocations: 125.8 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.1369, allocations: 15.75 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.1372, allocations: 146.5 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1373, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1373, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1373, allocations: 3.938 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.1379, allocations: 410.5 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1379, allocations: 3.984 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.138, allocations: 27.92 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.138, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.138, allocations: 3.938 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.138, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.138, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.1384, allocations: 223.4 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.1384, allocations: 85 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1385, allocations: 7.938 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1386, allocations: 11.98 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1386, allocations: 11.94 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.1386, allocations: 4 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1387, allocations: 115.2 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1387, allocations: 0 / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.139, allocations: 47.98 kB / 487.6 MB, free: 13.36 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.002221/0.1413, allocations: 1.146 MB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.1416, allocations: 91.86 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1416, allocations: 4 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1417, allocations: 43.97 kB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1421, allocations: 26.98 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.002161/0.1443, allocations: 1.643 MB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1446, allocations: 0.6963 MB / 491.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.826e-05/0.1447, allocations: 28.72 kB / 491.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.1448, allocations: 35.41 kB / 491.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1448, allocations: 0 / 491.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.1719, allocations: 3.526 MB / 494.8 MB, free: 6.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.135, allocations: 3.266 kB / 494.8 MB, free: 6.246 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11_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_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1)