Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.00126/0.00126, allocations: 124.2 kB / 17.84 MB, free: 5.258 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.002078/0.002078, allocations: 200.7 kB / 20.79 MB, free: 2.32 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.57/1.57, allocations: 207.6 MB / 231.2 MB, free: 4.094 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.4089/0.4089, allocations: 44.23 MB / 327.3 MB, free: 6.762 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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.002323/0.002323, allocations: 71.91 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4478, allocations: 60.99 MB / 0.5117 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00328/0.4511, allocations: 1.709 MB / 0.5134 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.4525, allocations: 0.816 MB / 0.5142 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.4525, allocations: 0 / 0.5142 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.453, allocations: 44.62 kB / 0.5142 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.4532, allocations: 57.23 kB / 0.5143 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.4535, allocations: 96.56 kB / 0.5144 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.4537, allocations: 92.2 kB / 0.5144 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4539, allocations: 17.8 kB / 0.5145 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.454, allocations: 38.61 kB / 0.5145 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.454, allocations: 37.92 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.4541, allocations: 3.969 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.4542, allocations: 38.33 kB / 0.5146 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.4542, allocations: 23.56 kB / 0.5146 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.4543, allocations: 31.91 kB / 0.5146 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.4545, allocations: 123.5 kB / 0.5147 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4545, allocations: 5.219 kB / 0.5148 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4545, allocations: 0 / 0.5148 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.4545, allocations: 0 / 0.5148 GB, free: 10.8 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.0005819/0.4551, allocations: 412.2 kB / 0.5151 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4552, allocations: 14.08 kB / 0.5152 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.519e-05/0.4552, allocations: 5.219 kB / 0.5152 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.525e-05/0.4552, allocations: 31.88 kB / 0.5152 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.4552, allocations: 9.359 kB / 0.5152 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.4555, allocations: 217 kB / 0.5154 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4555, allocations: 9.375 kB / 0.5154 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.4556, allocations: 2.406 kB / 0.5154 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.4557, allocations: 53.73 kB / 0.5155 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4557, allocations: 1.156 kB / 0.5155 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4558, allocations: 0 / 0.5155 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.4558, allocations: 5.5 kB / 0.5155 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.758e-05/0.4558, allocations: 18.02 kB / 0.5155 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.4562, allocations: 295.8 kB / 0.5158 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.4563, allocations: 59.48 kB / 0.5158 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.4564, allocations: 24.67 kB / 0.5159 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.4564, allocations: 0 / 0.5159 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.4566, allocations: 73.58 kB / 0.5159 GB, free: 9.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.4566, allocations: 0 / 0.5159 GB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005559/0.4571, allocations: 174.2 kB / 0.5161 GB, free: 9.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.4572, allocations: 52.84 kB / 0.5161 GB, free: 9.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.4573, allocations: 198.9 kB / 0.5163 GB, free: 9.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.4574, allocations: 31.55 kB / 0.5164 GB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.4574, allocations: 99.81 kB / 0.5165 GB, free: 9.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.4574, allocations: 25.39 kB / 0.5165 GB, free: 9.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.4575, allocations: 35.05 kB / 0.5165 GB, free: 9.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.4575, allocations: 323 kB / 0.5168 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.4576, allocations: 19 kB / 0.5168 GB, free: 8.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.4576, allocations: 39.39 kB / 0.5169 GB, free: 8.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.4578, allocations: 58.44 kB / 0.5169 GB, free: 8.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4578, allocations: 1.375 kB / 0.5169 GB, free: 8.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001647/0.4579, allocations: 106.8 kB / 0.517 GB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4579, allocations: 5.5 kB / 0.517 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4579, allocations: 0 / 0.517 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.458, allocations: 5.359 kB / 0.517 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.4581, allocations: 13.75 kB / 0.5171 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4581, allocations: 9.25 kB / 0.5171 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.4581, allocations: 1.375 kB / 0.5171 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.4581, allocations: 2.75 kB / 0.5171 GB, free: 8.605 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.739e-05/0.4582, allocations: 135.1 kB / 0.5172 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.4582, allocations: 9.453 kB / 0.5172 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.4583, allocations: 18.89 kB / 0.5172 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4583, allocations: 1.375 kB / 0.5172 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4583, allocations: 3.938 kB / 0.5172 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4583, allocations: 1.375 kB / 0.5172 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.4586, allocations: 394.5 kB / 0.5176 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4586, allocations: 3.938 kB / 0.5176 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.4587, allocations: 16.27 kB / 0.5176 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4587, allocations: 3.938 kB / 0.5176 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.4587, allocations: 2.75 kB / 0.5176 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4587, allocations: 0 / 0.5176 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4587, allocations: 1.375 kB / 0.5176 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.4589, allocations: 200.7 kB / 0.5178 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.4589, allocations: 91.7 kB / 0.5179 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.4589, allocations: 9.375 kB / 0.5179 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.459, allocations: 10.73 kB / 0.5179 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.459, allocations: 2.75 kB / 0.5179 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.4591, allocations: 4.125 kB / 0.5179 GB, free: 7.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.774e-05/0.4591, allocations: 151.5 kB / 0.5181 GB, free: 7.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4591, allocations: 0 / 0.5181 GB, free: 7.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.4594, allocations: 28.42 kB / 0.5181 GB, free: 7.641 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.001997/0.4614, allocations: 1.11 MB / 0.5192 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.4616, allocations: 55.59 kB / 0.5193 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.4616, allocations: 0 / 0.5193 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.4617, allocations: 28.83 kB / 0.5193 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.462, allocations: 24.7 kB / 0.5193 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.4635, allocations: 1.663 MB / 0.5209 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.4637, allocations: 0.7002 MB / 0.5216 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.245e-05/0.4637, allocations: 21.17 kB / 0.5216 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.4638, allocations: 35.42 kB / 0.5217 GB, free: 4.285 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4638, allocations: 0 / 0.5217 GB, free: 4.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.4846, allocations: 3.491 MB / 0.5251 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/8.984, allocations: 6.719 kB / 0.5251 GB, free: 0.7227 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.157454872969538] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.163344245986082 9.177575125 8.720091045 Calling exit ...