Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 208.6 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.488/1.488, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2358/0.2358, allocations: 46.12 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.002247/0.002248, allocations: 80.23 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1339, allocations: 62.46 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003351/0.1373, allocations: 1.684 MB / 481.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1383, allocations: 0.5532 MB / 482.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.1384, allocations: 3.938 kB / 482.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.1386, allocations: 39.83 kB / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.139, allocations: 95.59 kB / 482.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1393, allocations: 135.6 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1395, allocations: 75.77 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1396, allocations: 24.22 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.1397, allocations: 31.84 kB / 482.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1398, allocations: 47.83 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1398, allocations: 11.98 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1399, allocations: 47.98 kB / 483 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.14, allocations: 19.92 kB / 483 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.14, allocations: 35.75 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1402, allocations: 111.9 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1402, allocations: 3.938 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1402, allocations: 0 / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1402, allocations: 0 / 483.1 MB, free: 2.238 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.0005787/0.1408, allocations: 419 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1409, allocations: 16.03 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.1409, allocations: 34.75 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.141, allocations: 8.844 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1412, allocations: 196.1 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1412, allocations: 4.375 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1412, allocations: 4.375 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1414, allocations: 69.53 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1415, allocations: 7.906 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1415, allocations: 0 / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1415, allocations: 4 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.1416, allocations: 39.97 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1421, allocations: 308.6 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1423, allocations: 58.55 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.1424, allocations: 28.97 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1424, allocations: 0 / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1425, allocations: 38.56 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1425, allocations: 0 / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001494/0.144, allocations: 409.1 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.144, allocations: 51.41 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1443, allocations: 186.2 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1443, allocations: 25.7 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.1444, allocations: 104.1 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.1444, allocations: 39.45 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.1445, allocations: 21.72 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1447, allocations: 322.8 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1448, allocations: 43.97 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.145, allocations: 39.97 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.1452, allocations: 109 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1452, allocations: 4 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003303/0.1456, allocations: 141.4 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1456, allocations: 8 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1456, allocations: 0 / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1456, allocations: 3.938 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1458, allocations: 27.97 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1458, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.1459, allocations: 23.92 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1459, allocations: 7.938 kB / 485.9 MB, free: 15.26 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.0001213/0.146, allocations: 125.8 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.146, allocations: 7.906 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.1464, allocations: 158.3 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1465, allocations: 7.938 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1465, allocations: 0 / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1465, allocations: 0 / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007215/0.1472, allocations: 479.9 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1472, allocations: 8.062 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1473, allocations: 23.98 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1473, allocations: 3.984 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1474, allocations: 8 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1474, allocations: 3.938 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1474, allocations: 0 / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.1478, allocations: 253 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.1478, allocations: 96.91 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1479, allocations: 192 / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.148, allocations: 15.98 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.148, allocations: 11.94 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1481, allocations: 7.984 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1482, allocations: 139.2 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1482, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1485, allocations: 24 kB / 487.2 MB, free: 13.79 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.002382/0.1508, allocations: 1.128 MB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.1512, allocations: 119.8 kB / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1512, allocations: 0 / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1514, allocations: 63.89 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.1518, allocations: 14.23 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.1543, allocations: 1.786 MB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1547, allocations: 0.7041 MB / 491 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.232e-05/0.1548, allocations: 20.53 kB / 491 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.1549, allocations: 39.42 kB / 491.1 MB, free: 9.938 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1549, allocations: 0 / 491.1 MB, free: 9.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.1802, allocations: 3.251 MB / 494.3 MB, free: 6.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.146, allocations: 1.078 kB / 494.3 MB, free: 6.762 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25_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_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1)