Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001249, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2285/0.2285, 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.002828/0.002828, allocations: 82.44 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.126, allocations: 62.46 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003021/0.1291, allocations: 1.585 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009783/0.1301, allocations: 0.5338 MB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.1301, allocations: 8 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1303, allocations: 27.78 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.1306, allocations: 79.62 kB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1309, allocations: 114.2 kB / 482.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.131, allocations: 51.91 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.1311, allocations: 19.94 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.1312, allocations: 27.84 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.1312, allocations: 23.86 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1313, allocations: 4 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.1313, allocations: 35.98 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1314, allocations: 7.984 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.1314, allocations: 23.81 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1316, allocations: 80.06 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1316, allocations: 0 / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1316, allocations: 0 / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1316, allocations: 0 / 482.8 MB, free: 2.492 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.0004745/0.1321, allocations: 391 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1321, allocations: 12.03 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.1322, allocations: 34.75 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.1322, allocations: 8.844 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.1324, allocations: 188.2 kB / 483.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1325, allocations: 4.375 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1325, allocations: 4.375 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1326, allocations: 49.62 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1327, allocations: 4 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1327, allocations: 0 / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1327, allocations: 0 / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/0.1328, allocations: 27.91 kB / 483.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.1332, allocations: 280.9 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.1335, allocations: 50.55 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.1335, allocations: 16.86 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1336, allocations: 3.938 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1336, allocations: 34.59 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 3.076e-06/0.1336, allocations: 3.984 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006243/0.1342, allocations: 157.2 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1343, allocations: 59.39 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1344, allocations: 144.2 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1345, allocations: 29.7 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.149e-05/0.1345, allocations: 96.12 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1346, allocations: 11.81 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.1346, allocations: 17.72 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1348, allocations: 322.8 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.1348, allocations: 23.98 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.1349, allocations: 24.05 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1351, allocations: 56.81 kB / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1351, allocations: 0 / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002079/0.1353, allocations: 89.45 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1353, allocations: 10.5 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1353, allocations: 4 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1354, allocations: 0 / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.1354, allocations: 11.98 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1355, allocations: 7.984 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.1355, allocations: 7.922 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1355, allocations: 7.938 kB / 485 MB, free: 116 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.0001103/0.1356, allocations: 113.8 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1357, allocations: 7.906 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.1359, allocations: 105.9 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.136, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.136, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.136, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.1365, allocations: 358.4 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1365, allocations: 0 / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.1365, allocations: 20.3 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1365, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1366, allocations: 4 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.1366, allocations: 3.938 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1366, allocations: 3.938 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.1368, allocations: 183.4 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.1369, allocations: 85.11 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1369, allocations: 0 / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.137, allocations: 11.92 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.137, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.137, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.426e-05/0.1371, allocations: 121.8 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1371, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1374, allocations: 23.91 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.001883/0.1393, allocations: 1.008 MB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1395, allocations: 55.95 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1395, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.1396, allocations: 31.92 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.14, allocations: 19.92 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1417, allocations: 1.451 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.1421, allocations: 0.7002 MB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.176e-05/0.1421, allocations: 16.05 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.1422, allocations: 23.42 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1422, allocations: 4 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.1652, allocations: 2.498 MB / 491.8 MB, free: 9.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.141, allocations: 15.5 kB / 491.8 MB, free: 9.242 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_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_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1)