Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 104.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.001365/0.001365, 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.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.2262/0.2262, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002233/0.002234, allocations: 84.05 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003155/0.1282, allocations: 1.62 MB / 481.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1293, allocations: 0.5455 MB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1294, allocations: 0 / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.1297, allocations: 79.77 kB / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.13, allocations: 103.6 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1303, allocations: 111.7 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1305, allocations: 79.83 kB / 482.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1306, allocations: 23.97 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.1307, allocations: 31.86 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1308, allocations: 55.81 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1308, allocations: 4 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.479e-05/0.1309, allocations: 43.98 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.131, allocations: 27.91 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.1311, allocations: 31.75 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1312, allocations: 104 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1312, allocations: 3.938 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1312, allocations: 0 / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1313, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005017/0.1318, allocations: 414.9 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.1318, allocations: 8.031 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.1319, allocations: 38.73 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.1319, allocations: 12.84 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.1321, allocations: 200.8 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.1321, allocations: 384 / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1322, allocations: 384 / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1323, allocations: 61.61 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1323, allocations: 7.891 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.1323, allocations: 3.938 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1324, allocations: 0 / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.596e-05/0.1325, allocations: 23.98 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.1329, allocations: 308.8 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.133, allocations: 46.5 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.133, allocations: 20.94 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1331, allocations: 0 / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1331, allocations: 38.5 kB / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1331, allocations: 0 / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009215/0.134, allocations: 241 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1341, allocations: 59.39 kB / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1343, allocations: 226.3 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1344, allocations: 25.7 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.1344, allocations: 104.1 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.1345, allocations: 27.62 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.1345, allocations: 25.7 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1347, allocations: 326.8 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.1348, allocations: 23.98 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.1349, allocations: 35.97 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.135, allocations: 72.77 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1351, allocations: 4 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002291/0.1353, allocations: 113.8 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1353, allocations: 6.656 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.1353, allocations: 3.984 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1353, allocations: 4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.1354, allocations: 16 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1355, allocations: 7.922 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1355, allocations: 4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1355, allocations: 4 kB / 485.5 MB, free: 15.54 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.0001017/0.1356, allocations: 129.8 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.1357, allocations: 15.81 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.136, allocations: 139 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.136, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.136, allocations: 3.938 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.136, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.1366, allocations: 423.3 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1366, allocations: 0 / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.1367, allocations: 31.89 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1367, allocations: 0 / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1367, allocations: 0 / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1367, allocations: 4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1367, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.137, allocations: 208.2 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.1371, allocations: 96.94 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1371, allocations: 3.938 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.1372, allocations: 8 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.1372, allocations: 7.984 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1372, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1374, allocations: 164.2 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1374, allocations: 3.938 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1376, allocations: 24 kB / 486.8 MB, free: 14.19 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.002099/0.1398, allocations: 1.095 MB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.14, allocations: 79.88 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.14, allocations: 0 / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.1401, allocations: 47.84 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1405, allocations: 26.5 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1425, allocations: 1.702 MB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1428, allocations: 0.708 MB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.555e-05/0.1429, allocations: 16.97 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.1429, allocations: 35.42 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1429, allocations: 0 / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.1679, allocations: 3.096 MB / 493.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.094, allocations: 5.016 kB / 493.6 MB, free: 7.484 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34_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_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1)