Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.001371/0.001371, allocations: 122.1 kB / 17.84 MB, free: 5.203 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.001535/0.001535, allocations: 211.9 kB / 20.8 MB, free: 2.258 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.695/1.695, allocations: 207.6 MB / 231.2 MB, free: 4.098 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.4127/0.4127, allocations: 44.22 MB / 327.3 MB, free: 6.703 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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",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.003983/0.003983, allocations: 75.88 kB / 463 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3961, allocations: 61 MB / 0.5117 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003756/0.3999, allocations: 1.712 MB / 0.5134 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.4013, allocations: 0.8118 MB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.4014, allocations: 5.25 kB / 0.5142 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.4018, allocations: 38.89 kB / 0.5142 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.4021, allocations: 60.11 kB / 0.5143 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.4023, allocations: 89.36 kB / 0.5144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.4025, allocations: 88.72 kB / 0.5144 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.4026, allocations: 15.39 kB / 0.5145 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.4027, allocations: 41.02 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.4028, allocations: 42.39 kB / 0.5145 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.4028, allocations: 6.969 kB / 0.5145 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.4029, allocations: 38.58 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.4029, allocations: 19.58 kB / 0.5146 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.403, allocations: 30.77 kB / 0.5146 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.4032, allocations: 111.1 kB / 0.5147 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4032, allocations: 0 / 0.5147 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4032, allocations: 0 / 0.5147 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4032, allocations: 1.531 kB / 0.5147 GB, free: 10.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004972/0.4037, allocations: 423 kB / 0.5151 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4038, allocations: 17.83 kB / 0.5152 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.304e-05/0.4038, allocations: 192 / 0.5152 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.4038, allocations: 35.97 kB / 0.5152 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.4038, allocations: 13.62 kB / 0.5152 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.4041, allocations: 207.7 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4041, allocations: 5.312 kB / 0.5154 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.4041, allocations: 6.5 kB / 0.5154 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4043, allocations: 53.33 kB / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4043, allocations: 1.625 kB / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4043, allocations: 8 kB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4043, allocations: 1.25 kB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.4044, allocations: 22.02 kB / 0.5155 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.4047, allocations: 282.5 kB / 0.5158 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.4049, allocations: 55.83 kB / 0.5158 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.4049, allocations: 21.27 kB / 0.5158 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.4049, allocations: 0 / 0.5158 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.4051, allocations: 74.08 kB / 0.5159 GB, free: 9.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4051, allocations: 0 / 0.5159 GB, free: 9.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005685/0.4057, allocations: 173.2 kB / 0.5161 GB, free: 9.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.4057, allocations: 56.5 kB / 0.5161 GB, free: 9.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.4059, allocations: 190.2 kB / 0.5163 GB, free: 9.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.4059, allocations: 31.08 kB / 0.5163 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.4059, allocations: 100.2 kB / 0.5164 GB, free: 9.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.4059, allocations: 19.98 kB / 0.5165 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.406, allocations: 24.58 kB / 0.5165 GB, free: 9.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.032e-05/0.406, allocations: 323 kB / 0.5168 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.4061, allocations: 26.88 kB / 0.5168 GB, free: 8.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.4062, allocations: 43.39 kB / 0.5169 GB, free: 8.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.4063, allocations: 58.45 kB / 0.5169 GB, free: 8.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4063, allocations: 0 / 0.5169 GB, free: 8.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.4065, allocations: 108.1 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4065, allocations: 4.125 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4065, allocations: 1.375 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4065, allocations: 1.375 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.4066, allocations: 12.38 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4066, allocations: 9.344 kB / 0.517 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.4066, allocations: 10.73 kB / 0.517 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.4067, allocations: 2.75 kB / 0.5171 GB, free: 8.652 MB / 382.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 8.91e-05/0.4067, allocations: 122 kB / 0.5172 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.4068, allocations: 9.453 kB / 0.5172 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.824e-05/0.4068, allocations: 22.19 kB / 0.5172 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4068, allocations: 0 / 0.5172 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.4068, allocations: 5.312 kB / 0.5172 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4068, allocations: 4 kB / 0.5172 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.4073, allocations: 393.1 kB / 0.5176 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4073, allocations: 1.75 kB / 0.5176 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.4073, allocations: 10.86 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4073, allocations: 5.312 kB / 0.5176 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4073, allocations: 9.375 kB / 0.5176 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4073, allocations: 1.375 kB / 0.5176 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4074, allocations: 0 / 0.5176 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.4076, allocations: 200.4 kB / 0.5178 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.4076, allocations: 95.64 kB / 0.5179 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.4077, allocations: 6.75 kB / 0.5179 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.4077, allocations: 5.359 kB / 0.5179 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.4078, allocations: 4.125 kB / 0.5179 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.4078, allocations: 2.75 kB / 0.5179 GB, free: 7.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.4079, allocations: 153.2 kB / 0.5181 GB, free: 7.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4079, allocations: 0 / 0.5181 GB, free: 7.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.4082, allocations: 24.44 kB / 0.5181 GB, free: 7.691 MB / 382.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.002136/0.4103, allocations: 1.103 MB / 0.5192 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.4106, allocations: 48.73 kB / 0.5192 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4106, allocations: 0 / 0.5192 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.4107, allocations: 31.53 kB / 0.5192 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.4111, allocations: 41.03 kB / 0.5193 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.4128, allocations: 1.62 MB / 0.5209 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.4129, allocations: 0.7118 MB / 0.5215 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.119e-05/0.413, allocations: 21.17 kB / 0.5216 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.4131, allocations: 31.42 kB / 0.5216 GB, free: 4.352 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4131, allocations: 0 / 0.5216 GB, free: 4.352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.4319, allocations: 3.424 MB / 0.5249 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.698, allocations: 8 kB / 0.525 GB, free: 0.8438 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.947822923015337] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.879388800996821 8.89256465 8.486442135 Calling exit ...