Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001455/0.001455, 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.002097/0.002097, 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.798/1.798, allocations: 207.6 MB / 231.2 MB, free: 4.121 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.4075/0.4075, allocations: 44.23 MB / 327.3 MB, free: 6.73 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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.002399/0.002399, allocations: 75.89 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3723, allocations: 61 MB / 0.5117 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003021/0.3754, allocations: 1.716 MB / 0.5134 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3765, allocations: 0.8081 MB / 0.5142 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.3765, allocations: 9.375 kB / 0.5142 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.3768, allocations: 37.39 kB / 0.5142 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.377, allocations: 58.03 kB / 0.5143 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.3772, allocations: 89.38 kB / 0.5144 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3774, allocations: 85.23 kB / 0.5144 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3775, allocations: 11.94 kB / 0.5144 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.199e-05/0.3776, allocations: 50.2 kB / 0.5145 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.3776, allocations: 32.23 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3777, allocations: 8.188 kB / 0.5145 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.3777, allocations: 42.06 kB / 0.5146 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.3778, allocations: 19.61 kB / 0.5146 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.3778, allocations: 31.19 kB / 0.5146 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.378, allocations: 114.6 kB / 0.5147 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.378, allocations: 4 kB / 0.5147 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.378, allocations: 1.156 kB / 0.5147 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.3781, allocations: 0 / 0.5147 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.0004538/0.3785, allocations: 415.5 kB / 0.5151 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3785, allocations: 18.05 kB / 0.5152 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.244e-05/0.3786, allocations: 4.172 kB / 0.5152 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.407e-05/0.3786, allocations: 36.03 kB / 0.5152 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.3786, allocations: 17.48 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.3788, allocations: 207 kB / 0.5154 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3789, allocations: 10.5 kB / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.3789, allocations: 5.828 kB / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.379, allocations: 54.08 kB / 0.5155 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.379, allocations: 0 / 0.5155 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.379, allocations: 5.344 kB / 0.5155 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.379, allocations: 0 / 0.5155 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.3791, allocations: 22.42 kB / 0.5155 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.3794, allocations: 282.6 kB / 0.5158 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.3796, allocations: 47.94 kB / 0.5158 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.3796, allocations: 25.59 kB / 0.5158 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3796, allocations: 3.938 kB / 0.5158 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.3798, allocations: 69.09 kB / 0.5159 GB, free: 9.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3798, allocations: 0 / 0.5159 GB, free: 9.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005163/0.3803, allocations: 175.6 kB / 0.5161 GB, free: 9.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.3803, allocations: 51.41 kB / 0.5161 GB, free: 9.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3805, allocations: 197.8 kB / 0.5163 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.3805, allocations: 26.8 kB / 0.5163 GB, free: 9.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.3805, allocations: 97.33 kB / 0.5164 GB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3805, allocations: 28.27 kB / 0.5165 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.3806, allocations: 23.69 kB / 0.5165 GB, free: 9.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.3806, allocations: 325.9 kB / 0.5168 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.3807, allocations: 20.05 kB / 0.5168 GB, free: 8.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.3807, allocations: 43.27 kB / 0.5169 GB, free: 8.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3808, allocations: 63.27 kB / 0.5169 GB, free: 8.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3808, allocations: 0 / 0.5169 GB, free: 8.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001634/0.381, allocations: 99.75 kB / 0.517 GB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.381, allocations: 4.406 kB / 0.517 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.381, allocations: 5.188 kB / 0.517 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.381, allocations: 1.5 kB / 0.517 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.3811, allocations: 20.2 kB / 0.517 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3811, allocations: 9.25 kB / 0.517 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.3812, allocations: 2.688 kB / 0.517 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3812, allocations: 2.75 kB / 0.5171 GB, free: 8.598 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 6.871e-05/0.3812, allocations: 133.6 kB / 0.5172 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.3813, allocations: 9.453 kB / 0.5172 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.3813, allocations: 14.22 kB / 0.5172 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3813, allocations: 1.375 kB / 0.5172 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3813, allocations: 7.922 kB / 0.5172 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3813, allocations: 4 kB / 0.5172 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.3816, allocations: 389.2 kB / 0.5176 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3816, allocations: 1.375 kB / 0.5176 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.3817, allocations: 14.81 kB / 0.5176 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3817, allocations: 5.312 kB / 0.5176 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3817, allocations: 1.375 kB / 0.5176 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3817, allocations: 1.375 kB / 0.5176 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3817, allocations: 0 / 0.5176 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.3819, allocations: 200.4 kB / 0.5178 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.3819, allocations: 97.08 kB / 0.5179 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.3819, allocations: 1.375 kB / 0.5179 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.382, allocations: 1.375 kB / 0.5179 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.382, allocations: 12.05 kB / 0.5179 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.382, allocations: 6.75 kB / 0.5179 GB, free: 7.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.3821, allocations: 153.1 kB / 0.5181 GB, free: 7.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3821, allocations: 1.375 kB / 0.5181 GB, free: 7.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3824, allocations: 24.44 kB / 0.5181 GB, free: 7.637 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.00189/0.3843, allocations: 1.1 MB / 0.5192 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.3844, allocations: 56.91 kB / 0.5192 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3844, allocations: 0 / 0.5192 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.3845, allocations: 31.05 kB / 0.5192 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.0003287/0.3848, allocations: 33.77 kB / 0.5193 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3863, allocations: 1.636 MB / 0.5209 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.3864, allocations: 0.7002 MB / 0.5216 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.513e-05/0.3864, allocations: 25.17 kB / 0.5216 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.3865, allocations: 35.42 kB / 0.5216 GB, free: 4.336 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3865, allocations: 0 / 0.5216 GB, free: 4.336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.4037, allocations: 3.42 MB / 0.525 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/8.74, allocations: 4.062 kB / 0.525 GB, free: 0.8359 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.095348144997843] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.918694935040548 8.932453503 8.551512364 Calling exit ...