Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, 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.001313/0.001313, 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.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.3332/0.3332, 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.003267/0.003267, allocations: 82.67 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1401, allocations: 62.44 MB / 480.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003329/0.1435, allocations: 1.613 MB / 481.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1446, allocations: 0.5611 MB / 482.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.1447, allocations: 3.938 kB / 482.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.1454, allocations: 451.1 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.1458, allocations: 291.3 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.1463, allocations: 166.3 kB / 483.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.1466, allocations: 167.6 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1467, allocations: 19.98 kB / 483.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1468, allocations: 103.8 kB / 483.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1471, allocations: 207.6 kB / 483.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1471, allocations: 4 kB / 483.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.1472, allocations: 35.97 kB / 483.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1473, allocations: 83.69 kB / 483.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1474, allocations: 99 kB / 484 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.1477, allocations: 254.9 kB / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1478, allocations: 0 / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1478, allocations: 0 / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1478, allocations: 0 / 484.2 MB, free: 1.145 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007883/0.1486, allocations: 0.6377 MB / 484.9 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1486, allocations: 12.03 kB / 484.9 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.1487, allocations: 34.73 kB / 484.9 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.1487, allocations: 52.31 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.1491, allocations: 300.1 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-06/0.1491, allocations: 384 / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1491, allocations: 384 / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1493, allocations: 53.67 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1493, allocations: 0 / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1493, allocations: 0 / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1493, allocations: 7.938 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1494, allocations: 19.98 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.1499, allocations: 396.6 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.905e-05/0.15, allocations: 30.58 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1501, allocations: 20.91 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1501, allocations: 0 / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1502, allocations: 34.56 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1502, allocations: 0 / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002861/0.1505, allocations: 105.1 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1505, allocations: 51.41 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009404/0.1515, allocations: 0.8738 MB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.1515, allocations: 25.7 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.1517, allocations: 235.9 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.1517, allocations: 4.125 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1518, allocations: 13.72 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.152, allocations: 366.7 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.152, allocations: 11.98 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.1521, allocations: 8 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.76e-05/0.1522, allocations: 28.84 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1522, allocations: 3.938 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001683/0.1524, allocations: 101.1 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1524, allocations: 8 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1524, allocations: 0 / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1525, allocations: 3.984 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.1526, allocations: 4 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1526, allocations: 3.984 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.1526, allocations: 4 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1526, allocations: 0 / 487.6 MB, free: 13.49 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 (2): * Single equations (assignments): 2 * 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.0002015/0.1529, allocations: 221.7 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.1529, allocations: 43.42 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.1531, allocations: 108.7 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1532, allocations: 0 / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1532, allocations: 4 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1532, allocations: 0 / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.1535, allocations: 293.5 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1535, allocations: 0 / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.1535, allocations: 8.031 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1536, allocations: 0 / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1536, allocations: 0 / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1536, allocations: 4 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1536, allocations: 0 / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1538, allocations: 190.9 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/0.1539, allocations: 120.5 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.1539, allocations: 4.031 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.154, allocations: 4 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.1541, allocations: 4 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.1541, allocations: 0 / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008064/0.1549, allocations: 0.6589 MB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1549, allocations: 4 kB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1551, allocations: 19.94 kB / 489.3 MB, free: 11.73 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 (2): * Single equations (assignments): 2 * 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.001795/0.157, allocations: 0.9719 MB / 490.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1572, allocations: 31.92 kB / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1572, allocations: 0 / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.1573, allocations: 11.98 kB / 490.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.1577, allocations: 31.31 kB / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.1616, allocations: 3.222 MB / 493.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.1622, allocations: 0.8221 MB / 494.4 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.1622, allocations: 16.05 kB / 494.4 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.1624, allocations: 119.3 kB / 494.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1624, allocations: 0 / 494.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.193, allocations: 5.659 MB / 0.4885 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.142, allocations: 7.734 kB / 0.4885 GB, free: 0.8867 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_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_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1)