Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 103.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.001531/0.001531, 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.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.22/0.22, allocations: 46.13 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.003034/0.003034, allocations: 82.86 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1145, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.00319/0.1177, allocations: 1.596 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.1187, allocations: 0.526 MB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.1188, allocations: 0 / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.119, allocations: 35.77 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.1192, allocations: 79.62 kB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1195, allocations: 87.77 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1196, allocations: 63.84 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1197, allocations: 15.97 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.1198, allocations: 23.88 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.1199, allocations: 19.86 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1199, allocations: 4 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.12, allocations: 27.98 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.12, allocations: 23.91 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.1201, allocations: 27.75 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1202, allocations: 80.08 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1202, allocations: 0 / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1202, allocations: 0 / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1203, allocations: 3.984 kB / 482.8 MB, free: 2.5 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.0004722/0.1207, allocations: 399 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1208, allocations: 8.031 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1208, allocations: 34.75 kB / 483.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1209, allocations: 12.84 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1211, allocations: 199.7 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1211, allocations: 4.125 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1211, allocations: 7.938 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1213, allocations: 41.69 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1213, allocations: 0 / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1213, allocations: 0 / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1213, allocations: 4 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.359e-05/0.1214, allocations: 19.98 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.1218, allocations: 284.9 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.122, allocations: 42.5 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.122, allocations: 16.86 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.122, allocations: 0 / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1221, allocations: 42.58 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1221, allocations: 0 / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005485/0.1226, allocations: 141.3 kB / 484 MB, free: 1.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1227, allocations: 51.41 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1229, allocations: 177.5 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1229, allocations: 25.7 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.123, allocations: 112 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.123, allocations: 19.75 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.123, allocations: 17.7 kB / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1232, allocations: 318.8 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.1233, allocations: 15.98 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.749e-05/0.1234, allocations: 23.97 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1235, allocations: 56.97 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1235, allocations: 0 / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002136/0.1237, allocations: 81.56 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1238, allocations: 4 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1238, allocations: 0 / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1238, allocations: 3.938 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.997e-05/0.1239, allocations: 15.98 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1239, allocations: 3.938 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.1239, allocations: 8 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1239, allocations: 0 / 485 MB, free: 124 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 0.0001094/0.124, allocations: 125.9 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1241, allocations: 8.188 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.1243, allocations: 89.97 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1244, allocations: 3.984 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1244, allocations: 3.938 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1244, allocations: 4 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.1248, allocations: 350.5 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1248, allocations: 0 / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/0.1249, allocations: 11.98 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1249, allocations: 3.938 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1249, allocations: 4 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1249, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1249, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1252, allocations: 183.5 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.1252, allocations: 81.02 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1253, allocations: 15.92 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1254, allocations: 0 / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.1254, allocations: 7.938 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1254, allocations: 0 / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1255, allocations: 143.2 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1255, allocations: 3.938 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1258, allocations: 12 kB / 486 MB, free: 14.98 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.001886/0.1277, allocations: 1.014 MB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1279, allocations: 47.91 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1279, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.128, allocations: 23.98 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1283, allocations: 23.45 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1301, allocations: 1.49 MB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1304, allocations: 0.7041 MB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.856e-05/0.1305, allocations: 8 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.1305, allocations: 23.42 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1305, allocations: 0 / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1553, allocations: 2.584 MB / 491.9 MB, free: 9.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/7.968, allocations: 11 kB / 491.9 MB, free: 9.152 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11_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_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1)