Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.001829/0.001829, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002118/0.002118, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.647/1.647, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2334/0.2334, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.003017/0.003017, allocations: 82.69 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1274, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003291/0.1308, allocations: 1.663 MB / 481.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1326, allocations: 1.202 MB / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.1327, allocations: 0 / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.1329, allocations: 31.78 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.1332, allocations: 79.62 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.1337, allocations: 185.9 kB / 483.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1338, allocations: 75.77 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1339, allocations: 16 kB / 483.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.134, allocations: 35.84 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1342, allocations: 35.84 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1342, allocations: 4 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.1344, allocations: 103.9 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.1345, allocations: 27.91 kB / 483.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.1345, allocations: 27.8 kB / 483.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.1348, allocations: 155.9 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1349, allocations: 3.938 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1349, allocations: 0 / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1349, allocations: 0 / 483.8 MB, free: 1.504 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.0006561/0.1355, allocations: 415.1 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1356, allocations: 12.03 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1356, allocations: 34.75 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.1357, allocations: 8.844 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1359, allocations: 206.3 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.136, allocations: 384 / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.136, allocations: 4.375 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.1362, allocations: 79.33 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1362, allocations: 0 / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1362, allocations: 0 / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1363, allocations: 7.984 kB / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1364, allocations: 47.89 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.1369, allocations: 304.8 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1371, allocations: 50.55 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.1371, allocations: 24.94 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1372, allocations: 3.938 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1372, allocations: 38.56 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1372, allocations: 3.938 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008992/0.1381, allocations: 225.1 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.1382, allocations: 81.09 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1384, allocations: 164.1 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1384, allocations: 25.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.1385, allocations: 100.1 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.1385, allocations: 15.78 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1386, allocations: 29.7 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1388, allocations: 322.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1389, allocations: 35.97 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1391, allocations: 49.69 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.1393, allocations: 96.81 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1393, allocations: 0 / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000316/0.1397, allocations: 117.7 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1397, allocations: 8 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.1397, allocations: 3.984 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1397, allocations: 0 / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1399, allocations: 23.98 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1399, allocations: 4.062 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.14, allocations: 28.05 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.14, allocations: 0 / 486.4 MB, free: 14.74 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.0001033/0.1401, allocations: 117.8 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.1401, allocations: 11.84 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.1405, allocations: 150.2 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1405, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1406, allocations: 3.984 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1406, allocations: 3.938 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.1412, allocations: 410.5 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1412, allocations: 11.94 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.1413, allocations: 15.98 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1413, allocations: 3.984 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1413, allocations: 7.938 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1413, allocations: 0 / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1413, allocations: 0 / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.1417, allocations: 223.4 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.1418, allocations: 92.95 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.1418, allocations: 7.922 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1419, allocations: 8 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.1419, allocations: 3.984 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1419, allocations: 4 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1421, allocations: 123.2 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1421, allocations: 0 / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.1424, allocations: 47.98 kB / 487.6 MB, free: 13.41 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.002521/0.1449, allocations: 1.127 MB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.1453, allocations: 103.9 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1453, allocations: 0 / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1454, allocations: 47.95 kB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1458, allocations: 15 kB / 488.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.148, allocations: 1.647 MB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1484, allocations: 0.7041 MB / 491.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.739e-05/0.1485, allocations: 24.7 kB / 491.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.1486, allocations: 35.42 kB / 491.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1486, allocations: 0 / 491.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.1758, allocations: 3.521 MB / 494.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.166, allocations: 5.062 kB / 494.8 MB, free: 6.297 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1)