Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, 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.002104/0.002104, 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.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2228/0.2228, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.0022/0.0022, allocations: 83.95 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1188, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003431/0.1223, allocations: 1.828 MB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1243, allocations: 1.095 MB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1244, allocations: 0 / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.1251, allocations: 303.3 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005559/0.1257, allocations: 251.2 kB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.126, allocations: 103.6 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.1264, allocations: 259.3 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/0.1264, allocations: 13.67 kB / 484.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1266, allocations: 131.6 kB / 484.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.1269, allocations: 195.9 kB / 484.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1269, allocations: 4 kB / 484.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.127, allocations: 51.97 kB / 484.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.1272, allocations: 124.5 kB / 484.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.1274, allocations: 150.8 kB / 484.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.1278, allocations: 366.9 kB / 485.1 MB, free: 288 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1278, allocations: 3.938 kB / 485.1 MB, free: 284 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1278, allocations: 0 / 485.1 MB, free: 284 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1278, allocations: 0 / 485.1 MB, free: 284 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.001004/0.1289, allocations: 0.7347 MB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1289, allocations: 8.031 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/0.129, allocations: 30.75 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.129, allocations: 56.27 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.1296, allocations: 443.8 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1297, allocations: 8.312 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1297, allocations: 11.92 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.1299, allocations: 83.38 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1299, allocations: 0 / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1299, allocations: 4 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.13, allocations: 0 / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1301, allocations: 35.91 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.1306, allocations: 366.4 kB / 486.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.1311, allocations: 109.2 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.1312, allocations: 37.7 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1312, allocations: 7.938 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.1315, allocations: 109.1 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1315, allocations: 0 / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000523/0.1321, allocations: 200.9 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.1321, allocations: 85.05 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.1334, allocations: 1.022 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.1334, allocations: 29.7 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1336, allocations: 240.1 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.1337, allocations: 31.62 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.1337, allocations: 29.72 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1339, allocations: 366.8 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.134, allocations: 31.92 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1341, allocations: 55.41 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1343, allocations: 91.36 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1343, allocations: 3.938 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003149/0.1347, allocations: 168.9 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1347, allocations: 4 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1347, allocations: 0 / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1347, allocations: 12 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1348, allocations: 23.92 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1349, allocations: 0 / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.135, allocations: 16.53 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.135, allocations: 4 kB / 489.5 MB, free: 11.57 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.0002349/0.1352, allocations: 217.7 kB / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.1353, allocations: 51.44 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.39e-05/0.1354, allocations: 60.08 kB / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1354, allocations: 8 kB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1354, allocations: 4 kB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1354, allocations: 0 / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.1358, allocations: 349.2 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1358, allocations: 0 / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.1358, allocations: 15.92 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1359, allocations: 0 / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1359, allocations: 0 / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1359, allocations: 4 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1359, allocations: 0 / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.1363, allocations: 213.2 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1364, allocations: 128.5 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.1365, allocations: 3.984 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.1365, allocations: 4 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1366, allocations: 15.92 kB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1366, allocations: 4 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008807/0.1375, allocations: 0.7643 MB / 491.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1375, allocations: 0 / 491.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1378, allocations: 47.98 kB / 491.3 MB, free: 9.605 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.002022/0.1398, allocations: 1.042 MB / 492.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.1401, allocations: 87.83 kB / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1401, allocations: 0 / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1402, allocations: 39.98 kB / 492.5 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.1407, allocations: 65.83 kB / 492.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/0.1465, allocations: 4.589 MB / 497.1 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.1471, allocations: 0.8466 MB / 498 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.1472, allocations: 63.42 kB / 498.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.1474, allocations: 147.4 kB / 498.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1474, allocations: 0 / 498.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.1804, allocations: 8.77 MB / 0.4951 GB, free: 10.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.298, allocations: 11.64 kB / 0.4951 GB, free: 10.02 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_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_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)