Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.001759, allocations: 103.7 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.002117/0.002117, allocations: 212.6 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.448/1.448, 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.2343/0.2343, allocations: 46.11 MB / 344.2 MB, free: 11.6 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.002526/0.002526, allocations: 82.73 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.105, allocations: 62.45 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003559/0.1086, allocations: 2.037 MB / 482.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1108, allocations: 1.352 MB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1109, allocations: 7.938 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1112, allocations: 51.56 kB / 483.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.1117, allocations: 215.1 kB / 483.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.113, allocations: 0.599 MB / 484.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.1134, allocations: 319.1 kB / 484.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1136, allocations: 68.98 kB / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.1138, allocations: 139.4 kB / 485 MB, free: 404 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.114, allocations: 191.3 kB / 485.2 MB, free: 212 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.1141, allocations: 12 kB / 485.2 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1142, allocations: 63.98 kB / 485.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.1144, allocations: 143.6 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.1146, allocations: 186.4 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.1151, allocations: 402.4 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1151, allocations: 0 / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1151, allocations: 0 / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1151, allocations: 4 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001038/0.1161, allocations: 0.8083 MB / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1162, allocations: 8.031 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.1162, allocations: 46.73 kB / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.1166, allocations: 72.27 kB / 486.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.1172, allocations: 484.4 kB / 487.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1172, allocations: 8.375 kB / 487.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.1172, allocations: 19.94 kB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.1175, allocations: 143.2 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1176, allocations: 7.891 kB / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1176, allocations: 4 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1176, allocations: 0 / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.1179, allocations: 99.86 kB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.1188, allocations: 0.7074 MB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1191, allocations: 113.2 kB / 488.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1192, allocations: 53.81 kB / 488.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.1192, allocations: 7.938 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1193, allocations: 30.56 kB / 488.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1193, allocations: 0 / 488.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001478/0.1208, allocations: 0.5602 MB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.1208, allocations: 77.11 kB / 489.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1219, allocations: 0.9298 MB / 490.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.1219, allocations: 33.69 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1221, allocations: 272.2 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.1222, allocations: 51.25 kB / 490.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.1223, allocations: 37.7 kB / 490.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1224, allocations: 321.9 kB / 490.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1226, allocations: 55.95 kB / 490.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.1228, allocations: 88.42 kB / 491 MB, free: 10.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.1232, allocations: 157.6 kB / 491.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1232, allocations: 3.984 kB / 491.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005037/0.1237, allocations: 249 kB / 491.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1237, allocations: 4 kB / 491.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1237, allocations: 0 / 491.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1237, allocations: 4 kB / 491.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.1239, allocations: 39.97 kB / 491.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.124, allocations: 4.062 kB / 491.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.1241, allocations: 15.98 kB / 491.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1241, allocations: 7.984 kB / 491.4 MB, free: 9.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002263/0.1244, allocations: 221.7 kB / 491.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1245, allocations: 55.25 kB / 491.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.1251, allocations: 291.4 kB / 492 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1251, allocations: 0 / 492 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1251, allocations: 0 / 492 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1252, allocations: 4 kB / 492 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.1263, allocations: 0.8254 MB / 492.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1264, allocations: 0 / 492.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.1265, allocations: 40.02 kB / 492.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1265, allocations: 3.938 kB / 492.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1266, allocations: 4 kB / 492.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1266, allocations: 7.938 kB / 492.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1266, allocations: 0 / 492.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.1272, allocations: 418.2 kB / 493.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.1273, allocations: 156.4 kB / 493.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.1274, allocations: 8 kB / 493.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1276, allocations: 15.92 kB / 493.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.1276, allocations: 15.97 kB / 493.5 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1277, allocations: 8 kB / 493.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007907/0.1285, allocations: 0.6864 MB / 494.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1285, allocations: 0 / 494.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.1288, allocations: 63.89 kB / 494.2 MB, free: 6.754 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 (16): * Single equations (assignments): 16 * 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.002319/0.1312, allocations: 1.236 MB / 495.5 MB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.1316, allocations: 171.8 kB / 495.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1317, allocations: 0 / 495.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.1319, allocations: 95.86 kB / 495.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.1326, allocations: 83.94 kB / 495.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.1393, allocations: 5.372 MB / 0.4894 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.1399, allocations: 0.8808 MB / 0.4903 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.1401, allocations: 91.83 kB / 0.4904 GB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.1404, allocations: 179.3 kB / 0.4906 GB, free: 14.65 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1404, allocations: 0 / 0.4906 GB, free: 14.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.1727, allocations: 9.944 MB / 0.5003 GB, free: 4.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.4, allocations: 1.078 kB / 0.5003 GB, free: 4.785 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_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_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1)