Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2245/0.2245, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002405/0.002406, allocations: 81.42 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1062, allocations: 62.46 MB / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002897/0.1092, allocations: 1.647 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.1101, allocations: 0.5494 MB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.1102, allocations: 0 / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.1104, allocations: 95.67 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.1107, allocations: 107.6 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.111, allocations: 99.69 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1111, allocations: 95.8 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.1112, allocations: 24.27 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.1113, allocations: 51.77 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.1114, allocations: 51.83 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1114, allocations: 4 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.1115, allocations: 55.97 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1115, allocations: 23.92 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.1116, allocations: 39.69 kB / 483 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1118, allocations: 131.5 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.1118, allocations: 0 / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.1118, allocations: 0 / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1118, allocations: 0 / 483.2 MB, free: 2.105 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004687/0.1123, allocations: 430.9 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1123, allocations: 15.95 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.1124, allocations: 42.75 kB / 483.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.1124, allocations: 12.75 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1126, allocations: 204 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.1126, allocations: 4.375 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1126, allocations: 4.375 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1128, allocations: 73.59 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1128, allocations: 0 / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.1128, allocations: 0 / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1128, allocations: 4 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.113, allocations: 47.91 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.1134, allocations: 332.6 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1135, allocations: 66.48 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.1136, allocations: 24.84 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1136, allocations: 7.938 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1136, allocations: 34.56 kB / 484.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1136, allocations: 0 / 484.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009974/0.1146, allocations: 317.4 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1147, allocations: 55.41 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.1149, allocations: 240.3 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.115, allocations: 25.7 kB / 485.1 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.1151, allocations: 108 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.1151, allocations: 43.45 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.1152, allocations: 29.66 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1153, allocations: 326.8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.832e-05/0.1154, allocations: 39.98 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.1155, allocations: 42.34 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.1157, allocations: 92.83 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1157, allocations: 0 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002628/0.116, allocations: 129.5 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.116, allocations: 6.656 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.116, allocations: 4.234 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1161, allocations: 7.938 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1162, allocations: 31.92 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1162, allocations: 3.984 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1163, allocations: 7.984 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1163, allocations: 4 kB / 485.9 MB, free: 15.11 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 (13): * Single equations (assignments): 13 * 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.0001122/0.1164, allocations: 133.9 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.1164, allocations: 19.75 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.1168, allocations: 178.7 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1168, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1168, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1168, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.1175, allocations: 483.1 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1175, allocations: 4 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.1176, allocations: 27.92 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1176, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1176, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1176, allocations: 4 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1176, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.118, allocations: 244.1 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.118, allocations: 96.86 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.1181, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.1182, allocations: 4 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.1182, allocations: 7.984 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1182, allocations: 8 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.1184, allocations: 185.1 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1184, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1187, allocations: 28 kB / 487.3 MB, free: 13.61 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 (13): * Single equations (assignments): 13 * 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.002138/0.1208, allocations: 1.111 MB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.1211, allocations: 103.8 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1211, allocations: 11.94 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1212, allocations: 47.92 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1216, allocations: 34 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.1237, allocations: 1.834 MB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1241, allocations: 0.7119 MB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.1242, allocations: 24.53 kB / 491.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.1242, allocations: 43.42 kB / 491.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1242, allocations: 3.938 kB / 491.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.1514, allocations: 3.439 MB / 494.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.043, allocations: 13.05 kB / 494.7 MB, free: 6.336 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6_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_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1)