Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, 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.001375/0.001375, 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.485/1.485, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2451/0.2451, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002191/0.002191, allocations: 83.38 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1227, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003516/0.1262, allocations: 1.755 MB / 482 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1282, allocations: 1.025 MB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.181e-05/0.1283, allocations: 0 / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1287, allocations: 111.6 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.129, allocations: 123.5 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1292, allocations: 87.59 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1295, allocations: 123.7 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1296, allocations: 19.98 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.1297, allocations: 59.7 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1298, allocations: 67.81 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1298, allocations: 4 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.13, allocations: 71.89 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.13, allocations: 31.86 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.1301, allocations: 43.67 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1303, allocations: 159.7 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1304, allocations: 0 / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1304, allocations: 0 / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1304, allocations: 4 kB / 483.9 MB, free: 1.434 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007524/0.1311, allocations: 450.7 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1312, allocations: 8.031 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.1313, allocations: 42.69 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.1313, allocations: 16.75 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1317, allocations: 225 kB / 484.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1317, allocations: 384 / 484.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1317, allocations: 7.938 kB / 484.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1319, allocations: 69.61 kB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.132, allocations: 3.938 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.132, allocations: 7.938 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.132, allocations: 0 / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1321, allocations: 31.97 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.1327, allocations: 316.7 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.133, allocations: 78.58 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.1331, allocations: 28.84 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1331, allocations: 4 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.1333, allocations: 79.42 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.1333, allocations: 0 / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008306/0.1342, allocations: 269 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1342, allocations: 59.34 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.1345, allocations: 259.7 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1345, allocations: 25.7 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.1346, allocations: 112.1 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.1347, allocations: 47.44 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.1347, allocations: 29.7 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.1349, allocations: 330.8 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.135, allocations: 35.98 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.492e-05/0.1351, allocations: 53.08 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1353, allocations: 93.69 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1353, allocations: 0 / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002575/0.1356, allocations: 137.4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1356, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1357, allocations: 4 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1357, allocations: 4.031 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1358, allocations: 35.92 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1358, allocations: 3.938 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.1359, allocations: 3.938 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1359, allocations: 7.984 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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.0001372/0.136, allocations: 144.3 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.1361, allocations: 15.81 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.1361, allocations: 17.41 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1361, allocations: 11.94 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1362, allocations: 0 / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1362, allocations: 3.984 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.1368, allocations: 483.9 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1369, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.1369, allocations: 12 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1369, allocations: 4.062 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1369, allocations: 7.984 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.137, allocations: 8.641 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.137, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.1373, allocations: 237 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.1374, allocations: 92.91 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.1374, allocations: 15.94 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1375, allocations: 4 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.1376, allocations: 11.98 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.1376, allocations: 4 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.1378, allocations: 197.4 kB / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1378, allocations: 0 / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1381, allocations: 35.98 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002487/0.1406, allocations: 1.191 MB / 489.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.1409, allocations: 91.89 kB / 489.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1409, allocations: 0 / 489.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.141, allocations: 51.98 kB / 489.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.1414, allocations: 33.94 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.1438, allocations: 1.938 MB / 491.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1442, allocations: 0.724 MB / 492 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.435e-05/0.1443, allocations: 21.06 kB / 492 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.1444, allocations: 51.42 kB / 492.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of SimCode: time 1.163e-06/0.1444, allocations: 0 / 492.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.1704, allocations: 4.126 MB / 496.2 MB, free: 4.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.183, allocations: 11.42 kB / 496.2 MB, free: 4.867 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)