Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 103.7 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.001404/0.001404, allocations: 212.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.523/1.523, 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.2384/0.2384, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.00225/0.00225, allocations: 87.02 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1251, allocations: 62.44 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00354/0.1286, allocations: 1.926 MB / 482.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1308, allocations: 1.126 MB / 483.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.131, allocations: 7.938 kB / 483.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005148/0.1316, allocations: 223.3 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.1321, allocations: 215.2 kB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1324, allocations: 115.6 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.1327, allocations: 255.3 kB / 484.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1329, allocations: 29.67 kB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1331, allocations: 119.5 kB / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1333, allocations: 155.5 kB / 484.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.1333, allocations: 15.94 kB / 484.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1335, allocations: 63.91 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.1336, allocations: 59.77 kB / 484.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1337, allocations: 91.3 kB / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.1341, allocations: 235.5 kB / 484.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1341, allocations: 3.938 kB / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1341, allocations: 0 / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1341, allocations: 4 kB / 484.8 MB, free: 0.5273 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000857/0.135, allocations: 0.5682 MB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.135, allocations: 8.031 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.1351, allocations: 38.75 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.1351, allocations: 28.64 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1355, allocations: 284 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1355, allocations: 8.359 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1356, allocations: 15.94 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.1358, allocations: 115.3 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1358, allocations: 0 / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1358, allocations: 0 / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1359, allocations: 4 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.136, allocations: 47.91 kB / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.1366, allocations: 476.8 kB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.137, allocations: 121.2 kB / 486.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.1371, allocations: 45.8 kB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1372, allocations: 8 kB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.1375, allocations: 120.9 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1375, allocations: 0 / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001386/0.1389, allocations: 0.5007 MB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.139, allocations: 81.11 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.1395, allocations: 448.5 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1395, allocations: 33.7 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1397, allocations: 156.5 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/0.1397, allocations: 71.08 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.1398, allocations: 41.7 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.14, allocations: 350.8 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1401, allocations: 59.92 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1403, allocations: 91.39 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.1406, allocations: 155.5 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1406, allocations: 4 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000422/0.141, allocations: 241.1 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.141, allocations: 4 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1411, allocations: 4 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1411, allocations: 0 / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1412, allocations: 47.86 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1412, allocations: 0 / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.039e-05/0.1413, allocations: 11.98 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1413, allocations: 8 kB / 489 MB, free: 12.09 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.0001644/0.1415, allocations: 174.2 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.1416, allocations: 39.47 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/0.1417, allocations: 38.81 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1417, allocations: 0 / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1417, allocations: 4 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1417, allocations: 3.984 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009256/0.1426, allocations: 0.7272 MB / 489.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1426, allocations: 0 / 489.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.47e-05/0.1427, allocations: 27.98 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1427, allocations: 4 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1428, allocations: 11.98 kB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1428, allocations: 8.062 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.1428, allocations: 7.938 kB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.1433, allocations: 413.8 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.1434, allocations: 108.7 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.1434, allocations: 8 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1436, allocations: 15.92 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1436, allocations: 15.92 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.1436, allocations: 12 kB / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000329/0.144, allocations: 331 kB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.144, allocations: 0 / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1443, allocations: 51.98 kB / 490.9 MB, free: 9.992 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.002614/0.147, allocations: 1.364 MB / 492.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.1473, allocations: 171.7 kB / 492.5 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1474, allocations: 0 / 492.5 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1475, allocations: 83.83 kB / 492.5 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.1481, allocations: 72 kB / 492.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.1518, allocations: 2.888 MB / 495.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.1522, allocations: 0.7792 MB / 496.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.1523, allocations: 53.83 kB / 496.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.1525, allocations: 95.41 kB / 496.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1525, allocations: 0 / 496.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.1832, allocations: 6.319 MB / 0.491 GB, free: 14.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.351, allocations: 11.66 kB / 0.491 GB, free: 14.25 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)