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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 114.4 kB / 17.12 MB, free: 5.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 211.2 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3917/0.3917, allocations: 44.22 MB / 326.6 MB, free: 6.828 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002873/0.002873, allocations: 79.88 kB / 462.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4199, allocations: 60.99 MB / 0.511 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00386/0.4237, allocations: 2.02 MB / 0.513 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.4261, allocations: 0.9087 MB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.4263, allocations: 6.188 kB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.4268, allocations: 44.98 kB / 0.5139 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.4271, allocations: 79.52 kB / 0.514 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.4276, allocations: 123.5 kB / 0.5141 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.4279, allocations: 193 kB / 0.5143 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.4281, allocations: 34.45 kB / 0.5143 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.4283, allocations: 84.08 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.4284, allocations: 85.03 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.4285, allocations: 10.41 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.4286, allocations: 51.11 kB / 0.5145 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.4287, allocations: 32.03 kB / 0.5146 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.4288, allocations: 72.88 kB / 0.5146 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.4292, allocations: 193.6 kB / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4292, allocations: 0 / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4292, allocations: 3.938 kB / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.4292, allocations: 4 kB / 0.5148 GB, free: 10.22 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.001073/0.4303, allocations: 0.5665 MB / 0.5154 GB, free: 9.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.4304, allocations: 13.48 kB / 0.5154 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.4304, allocations: 40.11 kB / 0.5154 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.4305, allocations: 18.47 kB / 0.5155 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.4309, allocations: 248.4 kB / 0.5157 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.4309, allocations: 11.11 kB / 0.5157 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.431, allocations: 14.81 kB / 0.5157 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.4315, allocations: 145.7 kB / 0.5159 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4315, allocations: 3.938 kB / 0.5159 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.4316, allocations: 1.375 kB / 0.5159 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.4316, allocations: 5.375 kB / 0.5159 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.4322, allocations: 108.4 kB / 0.516 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008677/0.4331, allocations: 0.5453 MB / 0.5165 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.4341, allocations: 156.8 kB / 0.5167 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.4344, allocations: 75.27 kB / 0.5167 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.4345, allocations: 9.312 kB / 0.5167 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.435, allocations: 134.3 kB / 0.5169 GB, free: 8.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.435, allocations: 0 / 0.5169 GB, free: 8.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001219/0.4362, allocations: 264.5 kB / 0.5171 GB, free: 8.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.4363, allocations: 52.84 kB / 0.5172 GB, free: 8.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4365, allocations: 223.2 kB / 0.5174 GB, free: 8.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.4365, allocations: 31.33 kB / 0.5174 GB, free: 7.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.4366, allocations: 125 kB / 0.5175 GB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.4367, allocations: 41.22 kB / 0.5176 GB, free: 7.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.4368, allocations: 41.58 kB / 0.5176 GB, free: 7.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.4369, allocations: 327.8 kB / 0.5179 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.4371, allocations: 64.41 kB / 0.518 GB, free: 7.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.4374, allocations: 109.3 kB / 0.5181 GB, free: 7.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.4379, allocations: 191.7 kB / 0.5183 GB, free: 7.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4379, allocations: 0 / 0.5183 GB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005923/0.4385, allocations: 256 kB / 0.5185 GB, free: 6.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.4385, allocations: 41.69 kB / 0.5186 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4385, allocations: 0 / 0.5186 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4385, allocations: 7.938 kB / 0.5186 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.4387, allocations: 39.91 kB / 0.5186 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4387, allocations: 0 / 0.5186 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.4389, allocations: 31.86 kB / 0.5186 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.4389, allocations: 12 kB / 0.5186 GB, free: 6.812 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.0001005/0.439, allocations: 133.8 kB / 0.5188 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.4391, allocations: 15.91 kB / 0.5188 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.4391, allocations: 17.41 kB / 0.5188 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4391, allocations: 7.938 kB / 0.5188 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4391, allocations: 0 / 0.5188 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4391, allocations: 3.984 kB / 0.5188 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.4393, allocations: 229.5 kB / 0.519 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4393, allocations: 0 / 0.519 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.4394, allocations: 27.91 kB / 0.5191 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4394, allocations: 4 kB / 0.5191 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.4394, allocations: 4 kB / 0.5191 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4395, allocations: 7.938 kB / 0.5191 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4395, allocations: 3.984 kB / 0.5191 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.4403, allocations: 296.8 kB / 0.5194 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.4403, allocations: 96.97 kB / 0.5195 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.4403, allocations: 7.938 kB / 0.5195 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.4405, allocations: 23.91 kB / 0.5195 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.4406, allocations: 15.98 kB / 0.5195 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.4406, allocations: 4 kB / 0.5195 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.4407, allocations: 172.5 kB / 0.5197 GB, free: 5.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4407, allocations: 4.062 kB / 0.5197 GB, free: 5.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.4409, allocations: 39.94 kB / 0.5197 GB, free: 5.613 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.00247/0.4434, allocations: 1.148 MB / 0.5208 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006237/0.444, allocations: 211.3 kB / 0.521 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.444, allocations: 4.062 kB / 0.521 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.4443, allocations: 71.94 kB / 0.5211 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.4447, allocations: 47.88 kB / 0.5211 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.4476, allocations: 2.171 MB / 0.5233 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.4478, allocations: 0.728 MB / 0.524 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.86e-05/0.4478, allocations: 17.55 kB / 0.524 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.4479, allocations: 55.41 kB / 0.524 GB, free: 1.031 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4479, allocations: 0 / 0.524 GB, free: 1.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.4787, allocations: 4.966 MB / 0.5289 GB, free: 12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.575, allocations: 5.75 kB / 0.5289 GB, free: 11.99 MB / 398.1 MB " [Timeout remaining time 651] (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.00039968 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.046186762003344] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.703840410991688 8.718437966 8.285797178 Calling exit ...