Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001306, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2684/0.2684, 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.002265/0.002265, allocations: 84.78 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1272, allocations: 62.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00336/0.1306, allocations: 1.735 MB / 482 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1324, allocations: 1.025 MB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.1325, allocations: 0 / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.1328, allocations: 39.78 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.1331, allocations: 99.53 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1334, allocations: 79.66 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1336, allocations: 103.7 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.1337, allocations: 4 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.1338, allocations: 51.77 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.1338, allocations: 31.86 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1339, allocations: 4 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.134, allocations: 43.98 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.134, allocations: 23.91 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.1341, allocations: 35.69 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1343, allocations: 127.8 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1343, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1343, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1344, allocations: 0 / 483.6 MB, free: 1.703 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.0006812/0.135, allocations: 418.9 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1351, allocations: 12.03 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.1351, allocations: 30.75 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.1352, allocations: 16.75 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1355, allocations: 216.1 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1355, allocations: 384 / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1355, allocations: 7.938 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1357, allocations: 57.61 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1357, allocations: 0 / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1357, allocations: 7.922 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1358, allocations: 4 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.1358, allocations: 19.98 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1363, allocations: 292.9 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1365, allocations: 50.62 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.1366, allocations: 28.78 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1366, allocations: 4 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.1369, allocations: 63.39 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1369, allocations: 0 / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006195/0.1375, allocations: 193.2 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.1375, allocations: 51.41 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1378, allocations: 202.3 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1378, allocations: 33.7 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.1379, allocations: 104.1 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.1379, allocations: 23.7 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.138, allocations: 21.72 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1382, allocations: 326.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.1382, allocations: 15.98 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.1383, allocations: 41.64 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1385, allocations: 57.72 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1385, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002038/0.1387, allocations: 105.4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1387, allocations: 4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1387, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1388, allocations: 4 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1389, allocations: 19.98 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1389, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.1389, allocations: 15.91 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.139, allocations: 0 / 486 MB, free: 15.06 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.0001219/0.1391, allocations: 137.1 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1391, allocations: 7.906 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.1392, allocations: 17.41 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1392, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.1392, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1392, allocations: 7.922 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.1398, allocations: 399.4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1398, allocations: 7.938 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.1398, allocations: 4 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1398, allocations: 7.938 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1398, allocations: 3.984 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1398, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1398, allocations: 4.266 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1401, allocations: 212.2 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.1402, allocations: 92.86 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1402, allocations: 7.938 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.1403, allocations: 3.984 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1403, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1404, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.1405, allocations: 164.8 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1405, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1408, allocations: 19.98 kB / 487.1 MB, free: 13.87 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.00216/0.143, allocations: 1.09 MB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1432, allocations: 63.91 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1432, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.1433, allocations: 27.97 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1437, allocations: 33.98 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1456, allocations: 1.683 MB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.146, allocations: 0.7119 MB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.652e-05/0.1461, allocations: 12.55 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.1461, allocations: 39.42 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1461, allocations: 3.938 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.1712, allocations: 3.424 MB / 494.2 MB, free: 6.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.184, allocations: 23.64 kB / 494.2 MB, free: 6.859 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42_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_Test42.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)