Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 105.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2214/0.2214, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 69.02 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1317, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003314/0.1351, allocations: 1.993 MB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1366, allocations: 0.9702 MB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.1367, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.137, allocations: 43.69 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1372, allocations: 79.55 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.1376, allocations: 135.6 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.1378, allocations: 211.3 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.138, allocations: 29.67 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1381, allocations: 75.7 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1382, allocations: 79.61 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.1382, allocations: 12 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1384, allocations: 51.92 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.1384, allocations: 39.83 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.351e-05/0.1385, allocations: 63.61 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.1388, allocations: 191.7 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1388, allocations: 3.938 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1388, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1388, allocations: 0 / 473.3 MB, free: 10.27 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009499/0.1398, allocations: 0.5643 MB / 473.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1398, allocations: 12.03 kB / 473.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.1399, allocations: 34.75 kB / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.14, allocations: 28.64 kB / 474 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1403, allocations: 236.9 kB / 474.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1403, allocations: 4.375 kB / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.1403, allocations: 11.94 kB / 474.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.1407, allocations: 156.1 kB / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1408, allocations: 0 / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1408, allocations: 0 / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1408, allocations: 4 kB / 474.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.1413, allocations: 119.8 kB / 474.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.142, allocations: 0.5359 MB / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.1426, allocations: 166.5 kB / 475.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.1429, allocations: 76.8 kB / 475.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1429, allocations: 0 / 475.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004567/0.1434, allocations: 139.2 kB / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.1434, allocations: 3.938 kB / 475.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008736/0.1443, allocations: 261.2 kB / 475.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.1444, allocations: 55.41 kB / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1446, allocations: 223.1 kB / 475.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1446, allocations: 33.7 kB / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.1447, allocations: 128.2 kB / 476.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1447, allocations: 39.62 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.1448, allocations: 37.7 kB / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.145, allocations: 330.8 kB / 476.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.1452, allocations: 63.94 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.1455, allocations: 114.4 kB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.146, allocations: 189.8 kB / 476.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.146, allocations: 0 / 476.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006462/0.1467, allocations: 253.9 kB / 477.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.1467, allocations: 29.83 kB / 477.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1467, allocations: 8 kB / 477.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1468, allocations: 3.938 kB / 477.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.147, allocations: 43.89 kB / 477.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.147, allocations: 0 / 477.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.1472, allocations: 27.83 kB / 477.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1472, allocations: 11.98 kB / 477.2 MB, free: 6.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001375/0.1473, allocations: 137.8 kB / 477.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.1474, allocations: 19.81 kB / 477.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.1475, allocations: 25.33 kB / 477.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1475, allocations: 7.938 kB / 477.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1475, allocations: 0 / 477.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1475, allocations: 0 / 477.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.1477, allocations: 233.4 kB / 477.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1477, allocations: 4 kB / 477.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.1479, allocations: 23.97 kB / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1479, allocations: 0 / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1479, allocations: 8 kB / 477.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1479, allocations: 3.938 kB / 477.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1479, allocations: 0 / 477.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.1488, allocations: 308.6 kB / 478 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.1489, allocations: 88.95 kB / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.1489, allocations: 0 / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.1491, allocations: 27.91 kB / 478.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.1492, allocations: 19.97 kB / 478.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1492, allocations: 4 kB / 478.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1493, allocations: 164.7 kB / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1493, allocations: 0 / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1496, allocations: 39.97 kB / 478.3 MB, free: 4.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002034/0.1516, allocations: 1.141 MB / 479.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.1523, allocations: 227.1 kB / 479.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1524, allocations: 0 / 479.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.1526, allocations: 88.12 kB / 479.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.153, allocations: 47.83 kB / 479.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.1562, allocations: 2.146 MB / 482 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1565, allocations: 0.728 MB / 482.7 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.261e-05/0.1566, allocations: 25.48 kB / 482.7 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1567, allocations: 59.41 kB / 482.8 MB, free: 420 kB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1567, allocations: 0 / 482.8 MB, free: 420 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.1861, allocations: 4.855 MB / 487.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.768, allocations: 18.67 kB / 487.6 MB, free: 11.63 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)