Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001671/0.001671, allocations: 104.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.00175/0.00175, 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.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.228/0.228, allocations: 46.11 MB / 344.2 MB, free: 11.52 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.002322/0.002322, allocations: 90.03 kB / 417.8 MB, free: 19.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1185, allocations: 62.45 MB / 480.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003357/0.1219, allocations: 1.588 MB / 481.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1236, allocations: 1.163 MB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.1237, allocations: 3.938 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.124, allocations: 35.84 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1243, allocations: 87.61 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.1246, allocations: 111.7 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1248, allocations: 59.91 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1249, allocations: 11.98 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.125, allocations: 27.88 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1251, allocations: 39.77 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1252, allocations: 4 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1254, allocations: 95.94 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.1254, allocations: 11.98 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.1255, allocations: 27.73 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1257, allocations: 136 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1257, allocations: 0 / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1257, allocations: 0 / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1258, allocations: 0 / 483.6 MB, free: 1.66 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.0005454/0.1263, allocations: 403.1 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1263, allocations: 8.031 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.1264, allocations: 34.75 kB / 484 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.1264, allocations: 8.844 kB / 484 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.1267, allocations: 196.2 kB / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1267, allocations: 384 / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1267, allocations: 8.312 kB / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1269, allocations: 67.33 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1269, allocations: 4 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.1269, allocations: 0 / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1269, allocations: 0 / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.127, allocations: 27.97 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1274, allocations: 284.8 kB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1277, allocations: 46.56 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1277, allocations: 20.88 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1278, allocations: 0 / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1278, allocations: 38.56 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.1278, allocations: 0 / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005719/0.1284, allocations: 153.2 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1285, allocations: 77.11 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1287, allocations: 152.4 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1287, allocations: 25.7 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.1288, allocations: 96.12 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.1288, allocations: 15.72 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1288, allocations: 17.72 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.129, allocations: 322.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.1291, allocations: 23.98 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.1292, allocations: 45.69 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1293, allocations: 52.83 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1293, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002008/0.1295, allocations: 81.69 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1296, allocations: 8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1296, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1296, allocations: 4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.1296, allocations: 8 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1297, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.1297, allocations: 19.77 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1297, allocations: 288 / 485.8 MB, free: 15.21 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.695e-05/0.1298, allocations: 117.8 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.1299, allocations: 4 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1302, allocations: 109.8 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1302, allocations: 0 / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1302, allocations: 0 / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1302, allocations: 3.938 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.1307, allocations: 366.5 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1307, allocations: 4.312 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.1307, allocations: 11.98 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1308, allocations: 4 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1308, allocations: 7.938 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1308, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1308, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.131, allocations: 187.4 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.1311, allocations: 81.11 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.1311, allocations: 3.938 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.1312, allocations: 7.984 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.1313, allocations: 7.938 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1313, allocations: 3.938 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1314, allocations: 117.3 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1314, allocations: 0 / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1317, allocations: 39.98 kB / 486.9 MB, free: 14.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.002225/0.1339, allocations: 1.088 MB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.1342, allocations: 63.83 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1342, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.1343, allocations: 31.98 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1347, allocations: 21.53 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1368, allocations: 1.44 MB / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1372, allocations: 0.6963 MB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1373, allocations: 16.22 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/0.1374, allocations: 31.36 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.304e-06/0.1374, allocations: 0 / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.1667, allocations: 3.174 MB / 493.4 MB, free: 7.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.224, allocations: 5.062 kB / 493.4 MB, free: 7.602 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1)