Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, 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.001315/0.001315, 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.431/1.431, 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.2225/0.2225, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002282/0.002282, allocations: 81.95 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1061, allocations: 62.44 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002975/0.1091, allocations: 1.592 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1101, allocations: 0.526 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.1102, allocations: 7.938 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1104, allocations: 27.86 kB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1107, allocations: 79.61 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1109, allocations: 95.69 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1111, allocations: 55.91 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.1112, allocations: 8 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.1112, allocations: 31.8 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.1113, allocations: 27.84 kB / 482.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1113, allocations: 4 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.1114, allocations: 28 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.1114, allocations: 11.98 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.1115, allocations: 19.81 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1116, allocations: 87.98 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1117, allocations: 0 / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1117, allocations: 0 / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1117, allocations: 0 / 482.8 MB, free: 2.523 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.0005194/0.1122, allocations: 403 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1123, allocations: 8.031 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.1123, allocations: 30.75 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1124, allocations: 8.844 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1126, allocations: 194.4 kB / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1126, allocations: 384 / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1127, allocations: 384 / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1128, allocations: 53.62 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1129, allocations: 0 / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1129, allocations: 4 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1129, allocations: 0 / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.113, allocations: 31.91 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.1135, allocations: 276.8 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.1137, allocations: 50.48 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.1138, allocations: 16.86 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1139, allocations: 4 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.1139, allocations: 38.58 kB / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.522e-06/0.1139, allocations: 0 / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007167/0.1146, allocations: 137.2 kB / 484 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1147, allocations: 59.34 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1149, allocations: 169.1 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.115, allocations: 29.7 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.115, allocations: 96.12 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1151, allocations: 15.75 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.1151, allocations: 13.72 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1152, allocations: 322.8 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.1153, allocations: 16.05 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.1154, allocations: 27.98 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1155, allocations: 44.83 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1155, allocations: 0 / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000192/0.1157, allocations: 81.58 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1158, allocations: 7.938 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1158, allocations: 0 / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1158, allocations: 4 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.1159, allocations: 15.98 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1159, allocations: 3.938 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.1159, allocations: 4 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.1159, allocations: 3.984 kB / 484.9 MB, free: 172 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 8.543e-05/0.116, allocations: 117.8 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.1161, allocations: 7.906 kB / 485 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.1163, allocations: 90.05 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1164, allocations: 7.938 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1164, allocations: 7.875 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1164, allocations: 0 / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.1168, allocations: 342.6 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1168, allocations: 320 / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.1169, allocations: 15.98 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1169, allocations: 11.94 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1169, allocations: 3.938 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1169, allocations: 0 / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1169, allocations: 0 / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1172, allocations: 183.3 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.1172, allocations: 81.11 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.1173, allocations: 3.938 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1173, allocations: 8 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.1174, allocations: 3.984 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1174, allocations: 8 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1175, allocations: 123.2 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1175, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1177, allocations: 15.91 kB / 485.9 MB, free: 15.05 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.001957/0.1197, allocations: 1.015 MB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.1199, allocations: 43.97 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1199, allocations: 0 / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.12, allocations: 27.92 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1204, allocations: 22.98 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1221, allocations: 1.448 MB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1225, allocations: 0.7041 MB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.99e-05/0.1225, allocations: 8.062 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.1226, allocations: 23.42 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1226, allocations: 4 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.1466, allocations: 2.529 MB / 491.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.037, allocations: 15.53 kB / 491.8 MB, free: 9.297 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7_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_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1)