Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 106.6 kB / 17.64 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 222.4 kB / 18.59 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2246/0.2246, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002461/0.002461, allocations: 82.72 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1196, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004197/0.1238, allocations: 2.355 MB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.1264, allocations: 1.407 MB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1267, allocations: 7.938 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.1273, allocations: 283 kB / 484.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007331/0.1281, allocations: 334.6 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.1286, allocations: 223.4 kB / 484.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.1292, allocations: 0.5453 MB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.1294, allocations: 57.08 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.1297, allocations: 239.1 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.13, allocations: 270.9 kB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.13, allocations: 16 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1302, allocations: 59.97 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1303, allocations: 111.5 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.1305, allocations: 186.6 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.131, allocations: 422.6 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.131, allocations: 4 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.131, allocations: 0 / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.131, allocations: 0 / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001193/0.1322, allocations: 0.7861 MB / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1323, allocations: 8.031 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.1323, allocations: 50.73 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.1324, allocations: 60.22 kB / 487.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.133, allocations: 419.7 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.133, allocations: 12.38 kB / 488 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.1331, allocations: 15.94 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.1335, allocations: 205.8 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1335, allocations: 11.94 kB / 488.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.1335, allocations: 4 kB / 488.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1335, allocations: 4 kB / 488.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.1338, allocations: 95.86 kB / 488.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009279/0.1347, allocations: 0.8682 MB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.1354, allocations: 285.3 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.1356, allocations: 108.2 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1357, allocations: 4 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.1361, allocations: 219.5 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.1361, allocations: 0 / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002091/0.1382, allocations: 1.011 MB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/0.1383, allocations: 158.2 kB / 491 MB, free: 9.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007772/0.1391, allocations: 0.663 MB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.1392, allocations: 41.69 kB / 491.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1394, allocations: 233.1 kB / 491.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1395, allocations: 114.4 kB / 492 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1396, allocations: 74.12 kB / 492.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1398, allocations: 374.8 kB / 492.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.1401, allocations: 96.83 kB / 492.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.1404, allocations: 192.8 kB / 492.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.141, allocations: 296.8 kB / 493 MB, free: 7.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.141, allocations: 0 / 493 MB, free: 7.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000764/0.1417, allocations: 412.6 kB / 493.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1418, allocations: 4 kB / 493.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1418, allocations: 4 kB / 493.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1418, allocations: 4 kB / 493.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.1421, allocations: 84.2 kB / 493.5 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.1421, allocations: 4 kB / 493.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1423, allocations: 23.98 kB / 493.6 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.1424, allocations: 24.16 kB / 493.6 MB, free: 7.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002557/0.1427, allocations: 216.2 kB / 493.8 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1428, allocations: 63.25 kB / 493.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1429, allocations: 68.78 kB / 493.9 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1429, allocations: 4 kB / 493.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1429, allocations: 0 / 493.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.1429, allocations: 7.984 kB / 493.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.1446, allocations: 1.284 MB / 495.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1446, allocations: 0 / 495.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.1448, allocations: 51.92 kB / 495.3 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1448, allocations: 4 kB / 495.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.1448, allocations: 19.92 kB / 495.3 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.1448, allocations: 11.88 kB / 495.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1448, allocations: 0 / 495.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009635/0.1458, allocations: 0.8162 MB / 496.1 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1459, allocations: 124.4 kB / 496.3 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.146, allocations: 19.94 kB / 496.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.1464, allocations: 15.98 kB / 496.3 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.1464, allocations: 31.95 kB / 496.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.1465, allocations: 23.98 kB / 496.3 MB, free: 4.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00055/0.147, allocations: 490.8 kB / 496.8 MB, free: 3.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.147, allocations: 4 kB / 496.8 MB, free: 3.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005636/0.1476, allocations: 87.98 kB / 496.9 MB, free: 3.812 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002853/0.1505, allocations: 1.719 MB / 498.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006596/0.1512, allocations: 307.5 kB / 498.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1512, allocations: 4.312 kB / 498.9 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.1515, allocations: 147.8 kB / 499.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.1526, allocations: 156.6 kB / 499.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/0.1588, allocations: 4.648 MB / 0.4921 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.1594, allocations: 0.8745 MB / 0.4929 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002852/0.1597, allocations: 76.14 kB / 0.493 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.16, allocations: 187.4 kB / 0.4932 GB, free: 11.61 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.16, allocations: 0 / 0.4932 GB, free: 11.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.1964, allocations: 10.77 MB / 0.5037 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.505, allocations: 11.86 kB / 0.5037 GB, free: 0.957 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)