Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, 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.00153/0.00153, 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.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2233/0.2233, allocations: 46.12 MB / 344.2 MB, free: 11.52 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.002281/0.002281, allocations: 80.16 kB / 417.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1162, allocations: 62.45 MB / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00344/0.1196, allocations: 1.828 MB / 482 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1216, allocations: 1.099 MB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.1217, allocations: 0 / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.1223, allocations: 299.3 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.1228, allocations: 251.2 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1231, allocations: 107.6 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.1235, allocations: 255.3 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.612e-05/0.1236, allocations: 21.66 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1237, allocations: 127.6 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.124, allocations: 191.9 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.124, allocations: 8 kB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1241, allocations: 47.98 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1243, allocations: 136.5 kB / 484.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1244, allocations: 142.8 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.1248, allocations: 366.9 kB / 485.1 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1249, allocations: 3.938 kB / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1249, allocations: 0 / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1249, allocations: 4 kB / 485.1 MB, free: 224 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009356/0.1258, allocations: 0.7192 MB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1259, allocations: 12.03 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.1259, allocations: 38.73 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.126, allocations: 52.28 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.1266, allocations: 443.8 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1267, allocations: 8.297 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.1267, allocations: 7.938 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.1269, allocations: 87.36 kB / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1269, allocations: 0 / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1269, allocations: 3.984 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.127, allocations: 4 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1271, allocations: 31.92 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.1276, allocations: 370.4 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.1279, allocations: 109.2 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.128, allocations: 37.7 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1281, allocations: 7.922 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.1284, allocations: 105.1 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1284, allocations: 0 / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005093/0.1289, allocations: 197.4 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.129, allocations: 81.11 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.1302, allocations: 1.026 MB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1303, allocations: 33.64 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.1305, allocations: 232.1 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.1305, allocations: 31.64 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.1306, allocations: 29.72 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1308, allocations: 366.8 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.1309, allocations: 31.92 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.131, allocations: 59.41 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.1312, allocations: 91.42 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1312, allocations: 3.938 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.1315, allocations: 168.9 kB / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1316, allocations: 8.062 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1316, allocations: 4 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1316, allocations: 3.938 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1317, allocations: 27.92 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1317, allocations: 0 / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.948e-05/0.1319, allocations: 7.906 kB / 489.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1319, allocations: 11.98 kB / 489.5 MB, free: 11.52 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002568/0.1321, allocations: 222.6 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.1322, allocations: 43.44 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.1323, allocations: 64.09 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1323, allocations: 0 / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1323, allocations: 0 / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1323, allocations: 7.984 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.1327, allocations: 349.2 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1327, allocations: 4 kB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.1327, allocations: 16.05 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1327, allocations: 0 / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1328, allocations: 4 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1328, allocations: 0 / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1328, allocations: 0 / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.1331, allocations: 209.2 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1333, allocations: 136.5 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.1333, allocations: 4 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.1334, allocations: 4 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.1335, allocations: 7.984 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1335, allocations: 12 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009641/0.1345, allocations: 0.7682 MB / 491.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1345, allocations: 0 / 491.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1348, allocations: 40 kB / 491.3 MB, free: 9.551 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002183/0.137, allocations: 1.058 MB / 492.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.1372, allocations: 83.84 kB / 492.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1373, allocations: 0 / 492.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1374, allocations: 35.98 kB / 492.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1378, allocations: 67.69 kB / 492.6 MB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/0.1441, allocations: 4.581 MB / 497.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.1449, allocations: 0.8426 MB / 498 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.145, allocations: 66.86 kB / 498.1 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.1453, allocations: 147.4 kB / 498.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1453, allocations: 0 / 498.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.179, allocations: 8.771 MB / 0.4951 GB, free: 9.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.354, allocations: 14.67 kB / 0.4951 GB, free: 9.957 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)