Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 103.8 kB / 17.63 MB, free: 5.48 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: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2231/0.2231, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002313/0.002313, allocations: 80.67 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.105, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002944/0.1079, allocations: 1.595 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.1089, allocations: 0.5299 MB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.109, allocations: 0 / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1092, allocations: 39.7 kB / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1094, allocations: 67.7 kB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1097, allocations: 98.81 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1098, allocations: 63.84 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.1099, allocations: 11.98 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.11, allocations: 23.88 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.1101, allocations: 23.84 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1101, allocations: 4 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.1102, allocations: 31.98 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.1102, allocations: 4 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1103, allocations: 27.8 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1104, allocations: 88 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1104, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1104, allocations: 4 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1105, allocations: 0 / 482.8 MB, free: 2.508 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.0004806/0.1109, allocations: 387.1 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.111, allocations: 12.03 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.111, allocations: 34.75 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.1111, allocations: 8.844 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1113, allocations: 194.4 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1113, allocations: 384 / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1113, allocations: 12.31 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1115, allocations: 49.61 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1115, allocations: 0 / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1115, allocations: 8 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1115, allocations: 0 / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.74e-05/0.1116, allocations: 23.92 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.112, allocations: 280.8 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1122, allocations: 38.56 kB / 483.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1122, allocations: 28.81 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.1123, allocations: 0 / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1123, allocations: 30.56 kB / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1123, allocations: 0 / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005499/0.1128, allocations: 149.3 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1129, allocations: 55.41 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1131, allocations: 161.8 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1131, allocations: 29.7 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.1132, allocations: 96.12 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1132, allocations: 15.75 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1132, allocations: 25.7 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1134, allocations: 314.8 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.1134, allocations: 19.98 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-05/0.1135, allocations: 23.97 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1137, allocations: 36.84 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1137, allocations: 0 / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001996/0.1139, allocations: 93.75 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1139, allocations: 4 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1139, allocations: 8 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.1139, allocations: 0 / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.114, allocations: 8 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.114, allocations: 7.922 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.114, allocations: 4 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.1141, allocations: 0 / 484.9 MB, free: 164 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 9.17e-05/0.1142, allocations: 121.8 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.1142, allocations: 11.89 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.1145, allocations: 93.91 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1145, allocations: 0 / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1145, allocations: 3.938 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1145, allocations: 0 / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.1149, allocations: 350.6 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.115, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.115, allocations: 8 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.115, allocations: 7.875 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.115, allocations: 3.938 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1151, allocations: 11.92 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1151, allocations: 0 / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.1153, allocations: 179.3 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.1154, allocations: 77.11 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1154, allocations: 7.938 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1155, allocations: 4.172 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.1155, allocations: 4 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1155, allocations: 4 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1156, allocations: 130.6 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1156, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1159, allocations: 23.89 kB / 486 MB, free: 15.04 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.00187/0.1178, allocations: 1.004 MB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.118, allocations: 51.97 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.118, allocations: 0 / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.1181, allocations: 27.91 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.1184, allocations: 12.25 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1201, allocations: 1.46 MB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1204, allocations: 0.6924 MB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.413e-05/0.1204, allocations: 16.05 kB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.1205, allocations: 23.44 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1205, allocations: 7.938 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.1423, allocations: 2.52 MB / 491.8 MB, free: 9.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.852, allocations: 18.91 kB / 491.8 MB, free: 9.281 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8_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_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1)