Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001311, 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.001372/0.001373, 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.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2282/0.2282, allocations: 46.11 MB / 344.2 MB, free: 11.61 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.002288/0.002288, allocations: 80.55 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1109, allocations: 62.45 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003079/0.114, allocations: 1.608 MB / 481.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.115, allocations: 0.5338 MB / 482.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.115, allocations: 0 / 482.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1153, allocations: 79.77 kB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.1156, allocations: 103.6 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1159, allocations: 91.69 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.116, allocations: 71.89 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.912e-05/0.1161, allocations: 16 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.1162, allocations: 47.77 kB / 482.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.1163, allocations: 47.83 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1163, allocations: 4 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.1164, allocations: 43.98 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1165, allocations: 19.92 kB / 482.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.1165, allocations: 31.69 kB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1167, allocations: 99.98 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1167, allocations: 3.984 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1167, allocations: 0 / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1167, allocations: 4 kB / 483 MB, free: 2.355 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.0004793/0.1172, allocations: 407 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1172, allocations: 8.031 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.1173, allocations: 38.69 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1173, allocations: 12.75 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.1175, allocations: 200.1 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1175, allocations: 4.375 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1176, allocations: 8.375 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1177, allocations: 57.61 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1177, allocations: 0 / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1177, allocations: 0 / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1177, allocations: 0 / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1179, allocations: 35.91 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.1182, allocations: 300.7 kB / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.1184, allocations: 42.56 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1184, allocations: 20.8 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1184, allocations: 4.078 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1185, allocations: 30.56 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1185, allocations: 0 / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008609/0.1193, allocations: 221.1 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1194, allocations: 51.41 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1196, allocations: 211.3 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1196, allocations: 25.7 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.1197, allocations: 100.1 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.1197, allocations: 31.56 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.1198, allocations: 25.7 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1199, allocations: 326.8 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.12, allocations: 23.98 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.152e-05/0.1201, allocations: 19.98 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1203, allocations: 68.83 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1203, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002228/0.1205, allocations: 109.8 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1206, allocations: 4 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1206, allocations: 0 / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1206, allocations: 3.938 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1208, allocations: 19.98 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1208, allocations: 3.938 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.1209, allocations: 4 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1209, allocations: 7.938 kB / 485.4 MB, free: 15.74 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.0001336/0.121, allocations: 133.8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.1211, allocations: 11.81 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.1215, allocations: 115 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1215, allocations: 0 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.1215, allocations: 3.938 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1215, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.1221, allocations: 399.3 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1221, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.1222, allocations: 23.92 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1222, allocations: 7.938 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.1222, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1222, allocations: 4 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1222, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1225, allocations: 212.2 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.1226, allocations: 88.95 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1226, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.1227, allocations: 7.984 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.1228, allocations: 4 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1228, allocations: 8 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.123, allocations: 151.9 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.123, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1233, allocations: 23.98 kB / 486.5 MB, free: 14.45 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.002185/0.1255, allocations: 1.096 MB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1257, allocations: 67.91 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1257, allocations: 0 / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.1259, allocations: 39.91 kB / 487.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1263, allocations: 17.44 kB / 487.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1283, allocations: 1.633 MB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.1287, allocations: 0.7002 MB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.138e-05/0.1288, allocations: 12.98 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.1289, allocations: 35.42 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1289, allocations: 0 / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.154, allocations: 2.995 MB / 493.1 MB, free: 7.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.028, allocations: 12.95 kB / 493.2 MB, free: 7.961 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_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_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1)