Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, 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.001368/0.001368, 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.499/1.499, 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.2712/0.2712, 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.002237/0.002237, allocations: 81.44 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1299, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00348/0.1334, allocations: 1.921 MB / 482.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1353, allocations: 1.123 MB / 483.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.1355, allocations: 4 kB / 483.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.136, allocations: 255.3 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.1365, allocations: 231.2 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1367, allocations: 115.6 kB / 483.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.1371, allocations: 275.2 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1372, allocations: 21.69 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1374, allocations: 131.6 kB / 484.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1376, allocations: 191.4 kB / 484.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.1377, allocations: 8 kB / 484.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1378, allocations: 63.98 kB / 484.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.1379, allocations: 63.75 kB / 484.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.138, allocations: 99.17 kB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.1384, allocations: 255.4 kB / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1384, allocations: 0 / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1384, allocations: 4 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1384, allocations: 0 / 484.9 MB, free: 420 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000791/0.1392, allocations: 0.5757 MB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1393, allocations: 12.03 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.1393, allocations: 38.73 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.1394, allocations: 36.5 kB / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.1398, allocations: 290.4 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1398, allocations: 8.375 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1398, allocations: 19.92 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.1401, allocations: 103.3 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1401, allocations: 3.906 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1401, allocations: 8 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1401, allocations: 0 / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1403, allocations: 47.89 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.141, allocations: 492.7 kB / 486.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.1413, allocations: 117.2 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1415, allocations: 53.81 kB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1415, allocations: 3.938 kB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.1418, allocations: 121.2 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.1418, allocations: 0 / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001304/0.1431, allocations: 0.5075 MB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.1432, allocations: 81.05 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.1437, allocations: 0.4899 MB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1438, allocations: 33.7 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1439, allocations: 164.5 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.144, allocations: 71 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.1441, allocations: 41.7 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1443, allocations: 354.8 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1444, allocations: 55.98 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1446, allocations: 91.39 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.1449, allocations: 163.5 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1449, allocations: 0 / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004205/0.1453, allocations: 241 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1453, allocations: 4 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1453, allocations: 0 / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1454, allocations: 7.938 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1455, allocations: 35.98 kB / 489.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1455, allocations: 4 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.1456, allocations: 16.05 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1456, allocations: 12 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000193/0.1458, allocations: 170.2 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.1459, allocations: 35.56 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.146, allocations: 42.89 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.146, allocations: 4 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.146, allocations: 3.984 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.146, allocations: 0 / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.1471, allocations: 0.7466 MB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1471, allocations: 0 / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.859e-05/0.1472, allocations: 31.92 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1472, allocations: 0 / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.1472, allocations: 20.12 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1472, allocations: 3.984 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.1472, allocations: 7.938 kB / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.1477, allocations: 421.2 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.1478, allocations: 116.7 kB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.1479, allocations: 4 kB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.148, allocations: 8 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.1481, allocations: 27.84 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1481, allocations: 8 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003943/0.1485, allocations: 375.1 kB / 491.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1485, allocations: 4 kB / 491.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1489, allocations: 51.98 kB / 491.2 MB, free: 9.684 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002575/0.1515, allocations: 1.365 MB / 492.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.1519, allocations: 167.7 kB / 492.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1519, allocations: 0 / 492.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1521, allocations: 84.16 kB / 492.9 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.1527, allocations: 68.02 kB / 492.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.1564, allocations: 3.005 MB / 495.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.1568, allocations: 0.7908 MB / 496.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.157, allocations: 41.92 kB / 496.8 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.1571, allocations: 111.3 kB / 496.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1572, allocations: 0 / 496.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.1859, allocations: 6.539 MB / 0.4916 GB, free: 13.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.217, allocations: 7.781 kB / 0.4916 GB, free: 13.61 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)