Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001692/0.001692, 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.002076/0.002076, 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.425/1.425, 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.2191/0.2191, allocations: 46.11 MB / 344.2 MB, free: 11.6 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.002285/0.002285, allocations: 84.33 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1224, allocations: 62.46 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003148/0.1256, allocations: 1.727 MB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1274, allocations: 1.017 MB / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1274, allocations: 0 / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1277, allocations: 43.77 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.128, allocations: 99.53 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.1283, allocations: 79.67 kB / 483.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1285, allocations: 103.7 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.1286, allocations: 11.98 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.1287, allocations: 35.8 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.1288, allocations: 39.78 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1288, allocations: 4 kB / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1289, allocations: 47.98 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.129, allocations: 19.92 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.129, allocations: 43.66 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1293, allocations: 115.9 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1293, allocations: 0 / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1293, allocations: 0 / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1293, allocations: 0 / 483.6 MB, free: 1.762 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005679/0.1299, allocations: 414.9 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1299, allocations: 8.031 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.1299, allocations: 38.75 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.13, allocations: 8.844 kB / 484.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.1302, allocations: 212.7 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1303, allocations: 384 / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1303, allocations: 11.88 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1304, allocations: 53.67 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1305, allocations: 7.844 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1305, allocations: 0 / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1305, allocations: 0 / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.649e-05/0.1306, allocations: 19.98 kB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.1309, allocations: 288.9 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1311, allocations: 70.59 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.1312, allocations: 20.84 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1312, allocations: 4 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.1315, allocations: 67.39 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1315, allocations: 0 / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005641/0.132, allocations: 173.2 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1321, allocations: 59.41 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.1323, allocations: 198.2 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1324, allocations: 33.7 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.1324, allocations: 100.1 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.1325, allocations: 23.7 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.1326, allocations: 17.72 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1327, allocations: 326.8 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.319e-05/0.1328, allocations: 23.94 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1329, allocations: 33.7 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.133, allocations: 65.7 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.133, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.1332, allocations: 101.4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1332, allocations: 8 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1332, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1333, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.1334, allocations: 15.98 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1334, allocations: 4 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.1334, allocations: 7.938 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1334, allocations: 8.031 kB / 486 MB, free: 15.14 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 (10): * Single equations (assignments): 10 * 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.00012/0.1336, allocations: 125.8 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.1336, allocations: 15.84 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.1337, allocations: 21.39 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1337, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1337, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1337, allocations: 3.938 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.1342, allocations: 399.4 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1342, allocations: 0 / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.1342, allocations: 15.92 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1343, allocations: 7.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1343, allocations: 384 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1343, allocations: 240 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1343, allocations: 4 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.1346, allocations: 212.2 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.1346, allocations: 84.92 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1347, allocations: 11.92 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1347, allocations: 0 / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1348, allocations: 8 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1348, allocations: 7.984 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1349, allocations: 144.2 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1349, allocations: 0 / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1352, allocations: 23.98 kB / 487 MB, free: 13.97 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: 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 (8): * Single equations (assignments): 6 * 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.002152/0.1374, allocations: 1.096 MB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1376, allocations: 63.91 kB / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1376, allocations: 0 / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.1377, allocations: 27.98 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.1381, allocations: 31.39 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1401, allocations: 1.64 MB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1404, allocations: 0.708 MB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.1405, allocations: 16.86 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.1405, allocations: 43.3 kB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1406, allocations: 0 / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.1657, allocations: 3.388 MB / 494 MB, free: 7.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.193, allocations: 7.875 kB / 494.1 MB, free: 7.059 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)