Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001557, allocations: 103.2 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.001765/0.001765, 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.484/1.484, 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.2291/0.2291, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002286/0.002286, allocations: 81.25 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1162, allocations: 62.44 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003217/0.1195, allocations: 1.651 MB / 481.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1205, allocations: 0.5494 MB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.1206, allocations: 4 kB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1209, allocations: 99.67 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1213, allocations: 115.6 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.1216, allocations: 118.7 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.1218, allocations: 99.8 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1219, allocations: 28.27 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.122, allocations: 51.77 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1221, allocations: 55.83 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1222, allocations: 4 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.871e-05/0.1223, allocations: 55.97 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1223, allocations: 27.92 kB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.1224, allocations: 39.67 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1226, allocations: 135.5 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1226, allocations: 0 / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1226, allocations: 0 / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1226, allocations: 0 / 483.2 MB, free: 2.102 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005465/0.1232, allocations: 430.8 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1232, allocations: 8.031 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.1233, allocations: 46.67 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.1233, allocations: 12.84 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1236, allocations: 204 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1236, allocations: 12.31 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1236, allocations: 4.375 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1238, allocations: 77.59 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1238, allocations: 0 / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1238, allocations: 8 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1238, allocations: 0 / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.124, allocations: 43.91 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.1245, allocations: 352.6 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1246, allocations: 62.5 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.1247, allocations: 24.84 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1247, allocations: 8 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1247, allocations: 34.56 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1248, allocations: 0 / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001235/0.126, allocations: 353.3 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1261, allocations: 55.41 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.1263, allocations: 236.6 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1264, allocations: 29.64 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.1265, allocations: 116 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.1265, allocations: 43.3 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1266, allocations: 33.7 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1268, allocations: 322.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1269, allocations: 51.97 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.127, allocations: 48.09 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1272, allocations: 109.9 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1272, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002965/0.1276, allocations: 149 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1276, allocations: 8 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1276, allocations: 7.938 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1276, allocations: 0 / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1277, allocations: 35.91 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1278, allocations: 0 / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.1278, allocations: 4 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1278, allocations: 4 kB / 486.1 MB, free: 14.99 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 (13): * Single equations (assignments): 13 * 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.0001365/0.128, allocations: 137.8 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.128, allocations: 11.81 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.1284, allocations: 195 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1284, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1284, allocations: 4 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1285, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/0.1292, allocations: 0.499 MB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1292, allocations: 0 / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.1293, allocations: 31.92 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1293, allocations: 3.938 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1294, allocations: 0 / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1294, allocations: 4 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1294, allocations: 0 / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.1297, allocations: 256.2 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.1298, allocations: 88.92 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1298, allocations: 8 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.1299, allocations: 11.98 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.13, allocations: 8 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.13, allocations: 7.984 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1301, allocations: 185.1 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.014e-06/0.1302, allocations: 0 / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1304, allocations: 31.92 kB / 487.6 MB, free: 13.42 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 (13): * Single equations (assignments): 13 * 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.002192/0.1326, allocations: 1.128 MB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.133, allocations: 127.4 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.133, allocations: 4 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.1331, allocations: 63.84 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1335, allocations: 25.05 kB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1359, allocations: 1.901 MB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.1363, allocations: 0.7197 MB / 491.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.838e-05/0.1364, allocations: 24.53 kB / 491.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.1365, allocations: 47.42 kB / 491.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1365, allocations: 0 / 491.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.1612, allocations: 3.531 MB / 495.1 MB, free: 5.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.195, allocations: 9.047 kB / 495.1 MB, free: 5.945 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_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_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1)