Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 208.6 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.435/1.435, 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.2173/0.2173, allocations: 46.12 MB / 344.2 MB, free: 11.6 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.002313/0.002313, allocations: 75.22 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1148, allocations: 62.46 MB / 480.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002969/0.1179, allocations: 1.588 MB / 481.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1196, allocations: 1.167 MB / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.1197, allocations: 0 / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.1199, allocations: 23.84 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.1201, allocations: 79.62 kB / 483.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.1204, allocations: 87.7 kB / 483.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1205, allocations: 67.83 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.1206, allocations: 12 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.1207, allocations: 31.84 kB / 483.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1208, allocations: 35.84 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1209, allocations: 4 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.121, allocations: 95.88 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.1211, allocations: 11.98 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.1211, allocations: 27.8 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.1215, allocations: 136 kB / 483.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1215, allocations: 0 / 483.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1215, allocations: 0 / 483.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1215, allocations: 0 / 483.6 MB, free: 1.793 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.0005398/0.122, allocations: 421.1 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1221, allocations: 8.031 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.1221, allocations: 30.75 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.1222, allocations: 8.844 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1224, allocations: 190.6 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1224, allocations: 4.375 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.1224, allocations: 4.375 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1226, allocations: 67.33 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1226, allocations: 0 / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1226, allocations: 3.938 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1226, allocations: 4 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.1227, allocations: 19.98 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1232, allocations: 272.9 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1234, allocations: 50.55 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.1234, allocations: 16.8 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1234, allocations: 4 kB / 484.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1235, allocations: 30.56 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1235, allocations: 0 / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005752/0.1241, allocations: 153.3 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.1241, allocations: 77.11 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1243, allocations: 148.3 kB / 485.1 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1243, allocations: 25.7 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.1244, allocations: 96.12 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.1244, allocations: 27.64 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.1245, allocations: 17.72 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1246, allocations: 322.8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.1247, allocations: 19.98 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.1248, allocations: 29.7 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.125, allocations: 48.83 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.125, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001997/0.1252, allocations: 81.89 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1252, allocations: 4 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1252, allocations: 7.984 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1252, allocations: 0 / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.1253, allocations: 12 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1253, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.1254, allocations: 19.83 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1254, allocations: 0 / 485.7 MB, free: 15.37 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 (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 9.286e-05/0.1255, allocations: 117.8 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.1255, allocations: 4 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.1258, allocations: 101.7 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1258, allocations: 0 / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1258, allocations: 0 / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1258, allocations: 7.922 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.1263, allocations: 346.6 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1263, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.397e-05/0.1264, allocations: 19.92 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1264, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1264, allocations: 3.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1264, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1264, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1266, allocations: 183.4 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1267, allocations: 81.11 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1267, allocations: 3.938 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.1268, allocations: 4.188 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.1269, allocations: 11.92 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1269, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.127, allocations: 113.3 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.127, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.1273, allocations: 35.98 kB / 486.8 MB, free: 14.25 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.002189/0.1295, allocations: 1.089 MB / 487.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1297, allocations: 59.83 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1297, allocations: 4 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.1298, allocations: 23.98 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1302, allocations: 22.48 kB / 488 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1319, allocations: 1.409 MB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1322, allocations: 0.6885 MB / 490.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.1323, allocations: 11.94 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.1323, allocations: 31.42 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1324, allocations: 0 / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.1639, allocations: 3.145 MB / 493.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.215, allocations: 9 kB / 493.3 MB, free: 7.867 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1)