Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_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.00165/0.00165, allocations: 106.9 kB / 16.41 MB, free: 6.516 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.001724/0.001724, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2012/0.2012, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 70.02 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1213, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.0041/0.1255, allocations: 2.002 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1271, allocations: 0.8973 MB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1273, allocations: 7.938 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.1277, allocations: 47.69 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1281, allocations: 75.55 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.1285, allocations: 131.7 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.1289, allocations: 195.4 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.129, allocations: 29.66 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1293, allocations: 83.62 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1294, allocations: 75.69 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.1295, allocations: 12 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1296, allocations: 55.91 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.1297, allocations: 39.78 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.1298, allocations: 75.58 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.1302, allocations: 195.1 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1302, allocations: 4 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1302, allocations: 0 / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1302, allocations: 0 / 0.4913 GB, free: 8.285 MB / 382.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.001194/0.1314, allocations: 0.564 MB / 0.4918 GB, free: 7.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.1315, allocations: 19.83 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.267e-05/0.1316, allocations: 38.73 kB / 0.4919 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.1317, allocations: 20.84 kB / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.1321, allocations: 248.9 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1322, allocations: 4.375 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.1322, allocations: 15.94 kB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.1327, allocations: 148.2 kB / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1327, allocations: 0 / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1328, allocations: 0 / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1328, allocations: 4 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.1333, allocations: 123.8 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.1341, allocations: 0.5361 MB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.1348, allocations: 162.6 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.1351, allocations: 72.8 kB / 0.4932 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1352, allocations: 0 / 0.4932 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/0.1356, allocations: 139.2 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.1356, allocations: 0 / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009292/0.1365, allocations: 261.2 kB / 0.4936 GB, free: 5.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1366, allocations: 59.39 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.1369, allocations: 219.2 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1369, allocations: 37.64 kB / 0.4939 GB, free: 5.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.137, allocations: 124.4 kB / 0.494 GB, free: 5.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.137, allocations: 35.69 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.1371, allocations: 37.7 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1373, allocations: 334.8 kB / 0.4944 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.1375, allocations: 67.94 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.1378, allocations: 102.9 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.1383, allocations: 189.8 kB / 0.4947 GB, free: 4.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1383, allocations: 4 kB / 0.4947 GB, free: 4.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006591/0.139, allocations: 259 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.1391, allocations: 33.7 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1391, allocations: 0 / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1391, allocations: 8.062 kB / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1393, allocations: 39.91 kB / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.1393, allocations: 3.984 kB / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.1395, allocations: 35.81 kB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.1396, allocations: 7.938 kB / 0.4951 GB, free: 4.074 MB / 382.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.0001261/0.1397, allocations: 133.8 kB / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.1397, allocations: 15.91 kB / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.1398, allocations: 25.39 kB / 0.4952 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1398, allocations: 11.94 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1398, allocations: 0 / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1398, allocations: 3.984 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.1401, allocations: 237.5 kB / 0.4955 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1401, allocations: 0 / 0.4955 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1402, allocations: 23.97 kB / 0.4955 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1403, allocations: 3.938 kB / 0.4955 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1403, allocations: 4 kB / 0.4955 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1403, allocations: 7.938 kB / 0.4955 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1403, allocations: 4 kB / 0.4955 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009318/0.1412, allocations: 296.8 kB / 0.4958 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.1413, allocations: 97.05 kB / 0.4959 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1414, allocations: 0 / 0.4959 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1415, allocations: 27.91 kB / 0.4959 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.1416, allocations: 19.97 kB / 0.496 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1417, allocations: 4 kB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1418, allocations: 168.6 kB / 0.4961 GB, free: 2.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1418, allocations: 0 / 0.4961 GB, free: 2.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1421, allocations: 35.95 kB / 0.4962 GB, free: 2.871 MB / 382.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.002006/0.1441, allocations: 1.15 MB / 0.4973 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.1448, allocations: 215.2 kB / 0.4975 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1448, allocations: 0 / 0.4975 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.1451, allocations: 88.05 kB / 0.4976 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1455, allocations: 47.91 kB / 0.4976 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.1486, allocations: 2.159 MB / 0.4997 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1488, allocations: 0.7202 MB / 0.5004 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.149, allocations: 21.55 kB / 0.5004 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1491, allocations: 55.36 kB / 0.5005 GB, free: 14.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1491, allocations: 0 / 0.5005 GB, free: 14.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.1729, allocations: 4.946 MB / 0.5053 GB, free: 9.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.256, allocations: 4 kB / 0.5053 GB, free: 9.324 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)