Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 103.1 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.001279/0.001279, 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.49/1.49, 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.257/0.257, allocations: 46.1 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.002868/0.002868, allocations: 82.05 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1295, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.004629/0.1342, allocations: 1.619 MB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1357, allocations: 0.5377 MB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.1358, allocations: 0 / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.1363, allocations: 83.7 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.1367, allocations: 107.6 kB / 482.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.1372, allocations: 106.8 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.1375, allocations: 87.75 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1377, allocations: 19.98 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.1378, allocations: 35.84 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.138, allocations: 59.81 kB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.138, allocations: 4 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.1382, allocations: 39.98 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-05/0.1383, allocations: 23.92 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.1384, allocations: 35.73 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.1387, allocations: 99.98 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1387, allocations: 0 / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.03e-06/0.1387, allocations: 0 / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.006e-06/0.1387, allocations: 7.938 kB / 483.1 MB, free: 2.254 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.0007497/0.1395, allocations: 418.9 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.1395, allocations: 8.031 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.1396, allocations: 34.75 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.1397, allocations: 12.84 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.14, allocations: 196.8 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.14, allocations: 384 / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.14, allocations: 384 / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1403, allocations: 65.61 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1403, allocations: 7.844 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1403, allocations: 0 / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1403, allocations: 0 / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.1405, allocations: 27.98 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.1411, allocations: 304.7 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1413, allocations: 54.5 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.1414, allocations: 20.94 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1414, allocations: 3.984 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1415, allocations: 30.56 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1415, allocations: 0 / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00129/0.1428, allocations: 237 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.1428, allocations: 59.39 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.1432, allocations: 218.2 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1432, allocations: 25.7 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1433, allocations: 108.1 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.1434, allocations: 27.62 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.1435, allocations: 29.78 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.1437, allocations: 322.8 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1439, allocations: 35.97 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.144, allocations: 27.97 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.1443, allocations: 76.75 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1443, allocations: 0 / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003481/0.1446, allocations: 117.7 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1447, allocations: 4 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1447, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1447, allocations: 4 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1449, allocations: 15.98 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.1449, allocations: 8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.145, allocations: 4 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.145, allocations: 4 kB / 485.5 MB, free: 15.56 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 (8): * Single equations (assignments): 8 * 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.0001539/0.1452, allocations: 133.8 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.1452, allocations: 15.81 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.1457, allocations: 135 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1457, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1457, allocations: 3.938 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1457, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.1465, allocations: 423.3 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1465, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1467, allocations: 27.86 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1467, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1467, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1467, allocations: 4 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1467, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.1471, allocations: 220.2 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.1472, allocations: 88.95 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1473, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1474, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.1475, allocations: 11.92 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1475, allocations: 7.938 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.1477, allocations: 164.2 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1477, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.1482, allocations: 27.98 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002984/0.1512, allocations: 1.084 MB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.1516, allocations: 83.88 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1516, allocations: 0 / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.1517, allocations: 43.91 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.1523, allocations: 21 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.1552, allocations: 1.701 MB / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.1557, allocations: 0.7119 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.1558, allocations: 24.73 kB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.1559, allocations: 35.36 kB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1559, allocations: 0 / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.1847, allocations: 3.094 MB / 493.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.029, allocations: 5.016 kB / 493.6 MB, free: 7.504 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1)