Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 107.8 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.001367/0.001367, 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.434/1.434, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2249/0.2249, allocations: 46.11 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.002257/0.002257, allocations: 87.12 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1178, allocations: 62.45 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00341/0.1212, allocations: 1.97 MB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1232, allocations: 1.197 MB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.493e-05/0.1233, allocations: 3.938 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.124, allocations: 195.4 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.1244, allocations: 207.2 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1248, allocations: 151.6 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.1252, allocations: 275.2 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.1253, allocations: 20.31 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1254, allocations: 107.5 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1256, allocations: 115.5 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1256, allocations: 8 kB / 484.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1258, allocations: 63.89 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.1259, allocations: 55.83 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.126, allocations: 87.41 kB / 484.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.1263, allocations: 239.4 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1263, allocations: 3.938 kB / 484.9 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1263, allocations: 7.984 kB / 484.9 MB, free: 408 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1263, allocations: 0 / 484.9 MB, free: 408 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009049/0.1273, allocations: 0.5505 MB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1273, allocations: 12.03 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.1273, allocations: 34.73 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.1274, allocations: 28.56 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.1278, allocations: 295.5 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1278, allocations: 4.375 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1278, allocations: 7.938 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.1281, allocations: 108.1 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1281, allocations: 0 / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1281, allocations: 8 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1281, allocations: 0 / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1283, allocations: 39.91 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.1288, allocations: 381.5 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.1291, allocations: 125.2 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1292, allocations: 41.7 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1293, allocations: 0 / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.1295, allocations: 129 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1295, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004626/0.13, allocations: 177.3 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.1301, allocations: 102.8 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.1305, allocations: 355.3 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1306, allocations: 33.7 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1307, allocations: 136.1 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1307, allocations: 35.62 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.1308, allocations: 29.7 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.131, allocations: 342.8 kB / 487.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.1311, allocations: 31.98 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1312, allocations: 81.12 kB / 487.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.1314, allocations: 91.36 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1314, allocations: 0 / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003021/0.1317, allocations: 149.4 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1318, allocations: 8 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1318, allocations: 0 / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1318, allocations: 0.625 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1319, allocations: 27.92 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1319, allocations: 0 / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.324e-05/0.132, allocations: 23.78 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.132, allocations: 7.984 kB / 488.2 MB, free: 12.74 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001576/0.1322, allocations: 166.8 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.1323, allocations: 27.66 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.1323, allocations: 29.83 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1323, allocations: 0 / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1323, allocations: 0 / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1324, allocations: 3.938 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.1326, allocations: 253.5 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1326, allocations: 0 / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.1327, allocations: 8 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1327, allocations: 0 / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1327, allocations: 7.984 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1327, allocations: 4 kB / 488.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1327, allocations: 0 / 488.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.1331, allocations: 185.5 kB / 488.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.1332, allocations: 96.81 kB / 489 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.1332, allocations: 11.94 kB / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.1333, allocations: 4 kB / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.1334, allocations: 15.92 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1334, allocations: 8 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002894/0.1337, allocations: 257.9 kB / 489.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1337, allocations: 0 / 489.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.134, allocations: 35.98 kB / 489.3 MB, free: 11.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002045/0.136, allocations: 1.038 MB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.1363, allocations: 91.91 kB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1363, allocations: 0 / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1365, allocations: 51.91 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1369, allocations: 62.84 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.1398, allocations: 2.349 MB / 492.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1402, allocations: 0.744 MB / 493.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.1403, allocations: 41.86 kB / 493.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.1405, allocations: 75.41 kB / 493.8 MB, free: 7.086 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1405, allocations: 0 / 493.8 MB, free: 7.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.1694, allocations: 5.665 MB / 499.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.43, allocations: 15.42 kB / 499.5 MB, free: 1.5 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1)