Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, 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.001923/0.001923, 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.52/1.52, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2298/0.2298, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002255/0.002255, allocations: 85.52 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1098, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003208/0.113, allocations: 1.693 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.114, allocations: 0.5805 MB / 482.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.1141, allocations: 0 / 482.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1143, allocations: 19.84 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.1146, allocations: 83.56 kB / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1149, allocations: 138.9 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1151, allocations: 87.77 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1152, allocations: 16 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.1153, allocations: 39.83 kB / 482.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.1154, allocations: 43.72 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1154, allocations: 8 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.1156, allocations: 103.9 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.1156, allocations: 27.89 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.1157, allocations: 35.8 kB / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.116, allocations: 167.8 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.116, allocations: 0 / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.116, allocations: 4 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.116, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006411/0.1166, allocations: 442.9 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1167, allocations: 16.02 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.1167, allocations: 30.75 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.1168, allocations: 8.844 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.117, allocations: 200.2 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.117, allocations: 384 / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.117, allocations: 12.31 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.1173, allocations: 91.28 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1173, allocations: 4 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1173, allocations: 0 / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1174, allocations: 0 / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.1177, allocations: 79.91 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1181, allocations: 316.7 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.1184, allocations: 70.53 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1186, allocations: 52.88 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1186, allocations: 0 / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1186, allocations: 34.56 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.1186, allocations: 4 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001639/0.1203, allocations: 380.8 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.1203, allocations: 77.11 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1205, allocations: 173.3 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1206, allocations: 25.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.1206, allocations: 104.1 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1207, allocations: 31.55 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.1207, allocations: 21.72 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1209, allocations: 326.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.1212, allocations: 63.92 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.1215, allocations: 93.62 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.1221, allocations: 148.7 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1221, allocations: 3.938 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006491/0.1227, allocations: 193.7 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1228, allocations: 6.5 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1228, allocations: 0 / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1228, allocations: 4.094 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.123, allocations: 39.89 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.123, allocations: 3.938 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1232, allocations: 31.95 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1232, allocations: 4 kB / 486.3 MB, free: 14.82 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 (10): * Single equations (assignments): 10 * 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 9.348e-05/0.1233, allocations: 117.8 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.1234, allocations: 7.906 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007073/0.1241, allocations: 210.1 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1241, allocations: 0 / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1241, allocations: 7.938 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1241, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/0.1251, allocations: 0.4943 MB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1251, allocations: 0 / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1253, allocations: 35.91 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1253, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1253, allocations: 8 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1253, allocations: 4.375 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1253, allocations: 3.984 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000682/0.126, allocations: 283.2 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.1261, allocations: 100.8 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.1261, allocations: 8 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1263, allocations: 19.97 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.1264, allocations: 11.98 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.1264, allocations: 4.281 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1265, allocations: 127.1 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1265, allocations: 4 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.1268, allocations: 51.92 kB / 487.8 MB, free: 13.24 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 (9): * Single equations (assignments): 9 * 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.002579/0.1294, allocations: 1.206 MB / 489 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006748/0.1301, allocations: 167.7 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1301, allocations: 0 / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.1304, allocations: 79.92 kB / 489.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1308, allocations: 22.22 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.1339, allocations: 1.832 MB / 491.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1343, allocations: 0.7079 MB / 491.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.717e-05/0.1344, allocations: 12.64 kB / 491.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.1345, allocations: 43.36 kB / 491.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1345, allocations: 0 / 491.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.1607, allocations: 4.191 MB / 496 MB, free: 5.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.421, allocations: 13.98 kB / 496 MB, free: 5.098 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_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_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1)