Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, 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.001227/0.001227, 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.455/1.455, 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.2236/0.2236, 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.002269/0.002269, allocations: 77.66 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1162, allocations: 62.46 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003122/0.1194, allocations: 1.612 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000956/0.1203, allocations: 0.5338 MB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.1204, allocations: 0 / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.1206, allocations: 83.7 kB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.1209, allocations: 99.64 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1212, allocations: 98.69 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1213, allocations: 75.83 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1215, allocations: 23.97 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.1215, allocations: 31.86 kB / 482.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1217, allocations: 63.81 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1217, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.1218, allocations: 43.98 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1218, allocations: 27.91 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.1219, allocations: 31.69 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.1221, allocations: 104 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1221, allocations: 3.938 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1221, allocations: 0 / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1221, allocations: 4 kB / 483 MB, free: 2.301 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.0005667/0.1227, allocations: 411 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1227, allocations: 11.97 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1228, allocations: 38.73 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.1228, allocations: 12.84 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.123, allocations: 196.8 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1231, allocations: 384 / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1231, allocations: 8.312 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1232, allocations: 57.61 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1233, allocations: 3.906 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1233, allocations: 4 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1233, allocations: 4 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1234, allocations: 27.97 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.1238, allocations: 296.8 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1239, allocations: 42.5 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.124, allocations: 24.94 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.124, allocations: 3.984 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1241, allocations: 30.56 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1241, allocations: 0 / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009071/0.125, allocations: 225 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.1251, allocations: 59.39 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1253, allocations: 218.3 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1253, allocations: 29.7 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.1254, allocations: 108 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.1254, allocations: 27.62 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.1255, allocations: 25.7 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1257, allocations: 330.8 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.1258, allocations: 19.98 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.1258, allocations: 23.98 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.126, allocations: 56.83 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.126, allocations: 0 / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002249/0.1262, allocations: 97.58 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1263, allocations: 8 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1263, allocations: 3.984 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1263, allocations: 4 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1264, allocations: 15.94 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1264, allocations: 4.25 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.1265, allocations: 7.984 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1265, allocations: 8 kB / 485.4 MB, free: 15.67 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.0001042/0.1266, allocations: 121.8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.1267, allocations: 15.81 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.127, allocations: 134.9 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.127, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.127, allocations: 3.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.127, allocations: 3.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.1275, allocations: 403.3 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1275, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.542e-05/0.1276, allocations: 23.92 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1276, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1276, allocations: 8 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1277, allocations: 4 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1277, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.1279, allocations: 208.2 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.128, allocations: 88.95 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.128, allocations: 3.938 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.1281, allocations: 7.984 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1281, allocations: 8 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1282, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1283, allocations: 164.2 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1283, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1286, allocations: 20 kB / 486.6 MB, free: 14.36 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.002249/0.1308, allocations: 1.086 MB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.1311, allocations: 67.94 kB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1311, allocations: 0 / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.1312, allocations: 44.06 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1316, allocations: 18.05 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1336, allocations: 1.654 MB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1339, allocations: 0.704 MB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.134, allocations: 16.66 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.1341, allocations: 35.42 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1341, allocations: 0 / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.1602, allocations: 3.034 MB / 493.3 MB, free: 7.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/7.95, allocations: 9.125 kB / 493.3 MB, free: 7.789 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1)