Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, 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.001292/0.001292, 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.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2192/0.2192, allocations: 46.1 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.00232/0.00232, allocations: 76.38 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1099, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.00314/0.113, allocations: 1.616 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009721/0.114, allocations: 0.5338 MB / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.1141, allocations: 0 / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.1143, allocations: 91.73 kB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.1146, allocations: 119.6 kB / 482.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1149, allocations: 94.69 kB / 482.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.115, allocations: 75.89 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.1151, allocations: 15.98 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.1152, allocations: 51.77 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1153, allocations: 55.81 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1153, allocations: 4 kB / 482.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.302e-05/0.1154, allocations: 43.98 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.1155, allocations: 15.94 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.1155, allocations: 43.66 kB / 483 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1157, allocations: 99.98 kB / 483.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1157, allocations: 0 / 483.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1157, allocations: 0 / 483.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1157, allocations: 0 / 483.1 MB, free: 2.289 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.0004984/0.1162, allocations: 430.8 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1163, allocations: 11.97 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.1163, allocations: 42.73 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1164, allocations: 16.69 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1166, allocations: 196.1 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1166, allocations: 4.375 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1166, allocations: 384 / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1168, allocations: 53.62 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1168, allocations: 0 / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1168, allocations: 8 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1168, allocations: 0 / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1169, allocations: 39.88 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1173, allocations: 296.7 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1174, allocations: 42.55 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1175, allocations: 24.94 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1175, allocations: 0 / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1175, allocations: 34.5 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1175, allocations: 0 / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008609/0.1184, allocations: 225 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.1185, allocations: 55.41 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1187, allocations: 227.1 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1187, allocations: 33.7 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.1188, allocations: 104.1 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1189, allocations: 39.61 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.1189, allocations: 17.72 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1191, allocations: 326.8 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.1192, allocations: 27.97 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.1192, allocations: 23.98 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1194, allocations: 60.83 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1194, allocations: 7.938 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002277/0.1197, allocations: 101.5 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1197, allocations: 4 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1197, allocations: 0 / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1197, allocations: 4 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.1198, allocations: 19.98 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1198, allocations: 3.938 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.1199, allocations: 7.984 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1199, allocations: 4 kB / 485.5 MB, free: 15.61 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.0001125/0.12, allocations: 129.8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.1201, allocations: 19.75 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.1203, allocations: 119.3 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1204, allocations: 4 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1204, allocations: 3.938 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1204, allocations: 0 / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005442/0.1209, allocations: 407.2 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1209, allocations: 7.938 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.121, allocations: 19.92 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.121, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.121, allocations: 4 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.121, allocations: 3.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1211, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.1213, allocations: 208.3 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.1214, allocations: 92.86 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1214, allocations: 3.984 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.1215, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.1215, allocations: 7.984 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1216, allocations: 8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1217, allocations: 176.3 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1217, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.122, allocations: 23.98 kB / 486.7 MB, free: 14.29 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.002177/0.1242, allocations: 1.095 MB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1244, allocations: 63.91 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1244, allocations: 0 / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.1246, allocations: 43.91 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.1251, allocations: 17.23 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1272, allocations: 1.7 MB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1276, allocations: 0.7119 MB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.1276, allocations: 16.59 kB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.1277, allocations: 39.42 kB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1277, allocations: 0 / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.1508, allocations: 3.123 MB / 493.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/7.928, allocations: 5.016 kB / 493.5 MB, free: 7.57 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5_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_CombiTable1Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1)