Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, 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.001297/0.001297, 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.405/1.405, 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.2177/0.2177, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002276/0.002276, allocations: 80.81 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1118, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003179/0.115, allocations: 1.596 MB / 481.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.116, allocations: 0.5222 MB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.1161, allocations: 11.88 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.1163, allocations: 19.86 kB / 482.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.1166, allocations: 83.61 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.1168, allocations: 83.78 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.117, allocations: 63.83 kB / 482.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.1171, allocations: 15.98 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.1171, allocations: 19.88 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.1172, allocations: 23.86 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1172, allocations: 0 / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.1173, allocations: 35.97 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.1174, allocations: 11.98 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.1174, allocations: 31.75 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1176, allocations: 76.06 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1176, allocations: 0 / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1176, allocations: 4 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1176, allocations: 0 / 482.8 MB, free: 2.547 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000487/0.1181, allocations: 383.1 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1182, allocations: 8.031 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.1182, allocations: 30.75 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.1182, allocations: 8.844 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1184, allocations: 202.8 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1185, allocations: 4.312 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1185, allocations: 4.375 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1186, allocations: 57.55 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1186, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1186, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1187, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.1188, allocations: 23.98 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1191, allocations: 272.9 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1193, allocations: 42.5 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.1194, allocations: 20.94 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1194, allocations: 3.984 kB / 483.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1194, allocations: 34.56 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1195, allocations: 4 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005584/0.12, allocations: 141.2 kB / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1201, allocations: 55.41 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1202, allocations: 148.2 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1203, allocations: 25.7 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.1203, allocations: 100.1 kB / 484.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1204, allocations: 19.8 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.1204, allocations: 17.72 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1206, allocations: 322.8 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.1206, allocations: 19.98 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.1207, allocations: 15.98 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1209, allocations: 52.7 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1209, allocations: 8 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001876/0.1211, allocations: 73.58 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1211, allocations: 8 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1211, allocations: 0 / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1211, allocations: 0 / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.1212, allocations: 11.98 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1212, allocations: 0 / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.1213, allocations: 8.188 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1213, allocations: 19.94 kB / 484.9 MB, free: 220 kB / 350.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 (5): * Single equations (assignments): 5 * 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 8.655e-05/0.1214, allocations: 117.8 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1214, allocations: 7.906 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.1217, allocations: 85.97 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1217, allocations: 4 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1217, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1217, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.1222, allocations: 358.3 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1222, allocations: 0 / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.1223, allocations: 8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1223, allocations: 11.92 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.1223, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.1223, allocations: 3.938 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1223, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1225, allocations: 175.4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.1226, allocations: 81.11 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1226, allocations: 3.984 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.1227, allocations: 11.94 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.1227, allocations: 0 / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1227, allocations: 7.938 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.452e-05/0.1228, allocations: 113.5 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1229, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1231, allocations: 23.91 kB / 485.9 MB, free: 15.11 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 (5): * Single equations (assignments): 5 * 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.001898/0.125, allocations: 1.002 MB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1252, allocations: 51.91 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1252, allocations: 0 / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.1253, allocations: 23.98 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1257, allocations: 25.66 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1274, allocations: 1.431 MB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.1278, allocations: 0.6924 MB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.1278, allocations: 4.25 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.1279, allocations: 31.42 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1279, allocations: 0 / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.1514, allocations: 2.468 MB / 491.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/7.905, allocations: 13.06 kB / 491.6 MB, free: 9.453 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1)