Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, 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.001477/0.001478, 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.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2354/0.2354, 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.002568/0.002569, allocations: 87.45 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.14, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003654/0.1437, allocations: 1.658 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1457, allocations: 1.183 MB / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.1458, allocations: 0 / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.146, allocations: 23.84 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.1464, allocations: 79.62 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1467, allocations: 134.5 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1469, allocations: 71.77 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.147, allocations: 15.98 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.1471, allocations: 27.92 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.1473, allocations: 43.77 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1473, allocations: 7.938 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.1475, allocations: 95.94 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.683e-05/0.1476, allocations: 19.98 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.1476, allocations: 27.8 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1479, allocations: 155.8 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1479, allocations: 4 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1479, allocations: 0 / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.148, allocations: 0 / 483.7 MB, free: 1.578 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.0006519/0.1486, allocations: 415.2 kB / 484.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1487, allocations: 8.031 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.1487, allocations: 34.75 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.1488, allocations: 12.78 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1491, allocations: 204.1 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1491, allocations: 4.359 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1491, allocations: 4.375 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1493, allocations: 75.27 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1493, allocations: 0 / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1493, allocations: 4 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1494, allocations: 8 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1495, allocations: 31.97 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.1499, allocations: 296.8 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1501, allocations: 38.56 kB / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/0.1502, allocations: 32.88 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1502, allocations: 0 / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1502, allocations: 34.55 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1502, allocations: 0 / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008584/0.1511, allocations: 217.2 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.1513, allocations: 77.11 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1515, allocations: 160.2 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1515, allocations: 29.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.1516, allocations: 92.14 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1516, allocations: 23.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.1517, allocations: 21.72 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.1519, allocations: 318.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.152, allocations: 35.97 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1522, allocations: 53.69 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1524, allocations: 76.84 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1524, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002971/0.1527, allocations: 113.5 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1527, allocations: 10.5 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1528, allocations: 3.984 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1528, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1529, allocations: 23.98 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1529, allocations: 3.938 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.153, allocations: 15.86 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.153, allocations: 4 kB / 486.2 MB, free: 14.9 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.0001178/0.1532, allocations: 113.8 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.1532, allocations: 11.84 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.1536, allocations: 122.3 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1536, allocations: 4 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1536, allocations: 3.984 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1536, allocations: 3.938 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.1542, allocations: 402.6 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1542, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.1543, allocations: 19.98 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1543, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1544, allocations: 3.938 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1544, allocations: 3.984 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1544, allocations: 3.984 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.1547, allocations: 215.7 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.1548, allocations: 89 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.1549, allocations: 7.938 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.155, allocations: 7.984 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.155, allocations: 4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.155, allocations: 7.938 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1552, allocations: 121.7 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1552, allocations: 0 / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1555, allocations: 35.98 kB / 487.3 MB, free: 13.63 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.002332/0.1578, allocations: 1.131 MB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.1582, allocations: 87.92 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1582, allocations: 0 / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1583, allocations: 43.91 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1588, allocations: 19.36 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.1615, allocations: 1.575 MB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.162, allocations: 0.7043 MB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.765e-05/0.1621, allocations: 12.67 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.1622, allocations: 35.34 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1622, allocations: 0 / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.1929, allocations: 3.426 MB / 494.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.418, allocations: 13.97 kB / 494.4 MB, free: 6.699 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12_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_CombiTable2Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1)