Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.001428/0.001428, allocations: 126.1 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.001478/0.001478, allocations: 200.6 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.791/1.791, allocations: 207.6 MB / 231.2 MB, free: 4.109 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.4159/0.4159, allocations: 44.23 MB / 327.3 MB, free: 6.754 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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.002363/0.002363, allocations: 75.91 kB / 463 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3619, allocations: 61 MB / 0.5117 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004166/0.3661, allocations: 1.702 MB / 0.5134 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.3689, allocations: 1.424 MB / 0.5148 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.3691, allocations: 0 / 0.5148 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.3697, allocations: 40.55 kB / 0.5148 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.3699, allocations: 55.45 kB / 0.5149 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.3702, allocations: 88.06 kB / 0.5149 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3704, allocations: 98.2 kB / 0.515 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3705, allocations: 12.83 kB / 0.515 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.3706, allocations: 44.16 kB / 0.5151 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3708, allocations: 53.36 kB / 0.5151 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.3708, allocations: 5.062 kB / 0.5151 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3709, allocations: 56.14 kB / 0.5152 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.371, allocations: 11.58 kB / 0.5152 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.3711, allocations: 35.72 kB / 0.5152 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.3713, allocations: 122.2 kB / 0.5154 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3713, allocations: 1.281 kB / 0.5154 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3713, allocations: 0 / 0.5154 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.3713, allocations: 4 kB / 0.5154 GB, free: 10.45 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.000495/0.3718, allocations: 413.7 kB / 0.5158 GB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3719, allocations: 13.8 kB / 0.5158 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.454e-05/0.3719, allocations: 1.344 kB / 0.5158 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.394e-05/0.3719, allocations: 31.88 kB / 0.5158 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.3719, allocations: 9.297 kB / 0.5158 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3722, allocations: 205.6 kB / 0.516 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3723, allocations: 9.219 kB / 0.516 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.3723, allocations: 2.406 kB / 0.516 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3724, allocations: 74.28 kB / 0.5161 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3725, allocations: 0 / 0.5161 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3725, allocations: 5.375 kB / 0.5161 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3725, allocations: 0 / 0.5161 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.3725, allocations: 19.05 kB / 0.5161 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.3728, allocations: 296.5 kB / 0.5164 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.373, allocations: 51.88 kB / 0.5164 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.3731, allocations: 24.38 kB / 0.5165 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3731, allocations: 1.312 kB / 0.5165 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.3733, allocations: 69.77 kB / 0.5165 GB, free: 9.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.3733, allocations: 0 / 0.5165 GB, free: 9.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.3738, allocations: 164.2 kB / 0.5167 GB, free: 9.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3739, allocations: 78.55 kB / 0.5168 GB, free: 9.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.374, allocations: 167.9 kB / 0.5169 GB, free: 8.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.374, allocations: 26.95 kB / 0.517 GB, free: 8.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.3741, allocations: 91.67 kB / 0.517 GB, free: 8.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.3741, allocations: 28.03 kB / 0.5171 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.3741, allocations: 29 kB / 0.5171 GB, free: 8.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.3742, allocations: 321.8 kB / 0.5174 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.3742, allocations: 17.52 kB / 0.5174 GB, free: 8.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.3743, allocations: 45.94 kB / 0.5175 GB, free: 8.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.3744, allocations: 59.33 kB / 0.5175 GB, free: 8.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3744, allocations: 0 / 0.5175 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.3746, allocations: 118.6 kB / 0.5176 GB, free: 8.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3746, allocations: 5.5 kB / 0.5176 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3746, allocations: 0 / 0.5176 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3746, allocations: 1.375 kB / 0.5176 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.3747, allocations: 17.73 kB / 0.5177 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3747, allocations: 5.312 kB / 0.5177 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.3748, allocations: 1.375 kB / 0.5177 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3748, allocations: 2.75 kB / 0.5177 GB, free: 8.223 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 7.446e-05/0.3749, allocations: 128.7 kB / 0.5178 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.3749, allocations: 12.06 kB / 0.5178 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.3749, allocations: 12.84 kB / 0.5178 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3749, allocations: 1.375 kB / 0.5178 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3749, allocations: 3.938 kB / 0.5178 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3749, allocations: 0 / 0.5178 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.3753, allocations: 391.8 kB / 0.5182 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3753, allocations: 0 / 0.5182 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.3753, allocations: 12.66 kB / 0.5182 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3753, allocations: 5.312 kB / 0.5182 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3753, allocations: 5.375 kB / 0.5182 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3753, allocations: 4 kB / 0.5182 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3753, allocations: 1.562 kB / 0.5182 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3755, allocations: 192.3 kB / 0.5184 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.3755, allocations: 102.2 kB / 0.5185 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.3756, allocations: 6.75 kB / 0.5185 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.3756, allocations: 1.375 kB / 0.5185 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.3757, allocations: 8.109 kB / 0.5185 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3757, allocations: 2.75 kB / 0.5185 GB, free: 7.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.3758, allocations: 121.2 kB / 0.5186 GB, free: 7.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3758, allocations: 0 / 0.5186 GB, free: 7.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3761, allocations: 28.56 kB / 0.5187 GB, free: 7.277 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.002058/0.3781, allocations: 1.154 MB / 0.5198 GB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.3783, allocations: 48.98 kB / 0.5198 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3783, allocations: 0 / 0.5198 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/0.3784, allocations: 32.42 kB / 0.5199 GB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3787, allocations: 27.09 kB / 0.5199 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3801, allocations: 1.568 MB / 0.5214 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.3802, allocations: 0.6924 MB / 0.5221 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.76e-05/0.3803, allocations: 21.33 kB / 0.5221 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.3804, allocations: 35.42 kB / 0.5222 GB, free: 3.91 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3804, allocations: 0 / 0.5222 GB, free: 3.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.4023, allocations: 3.591 MB / 0.5257 GB, free: 200 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.683, allocations: 10.47 kB / 0.5257 GB, free: 192 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.055217365035787] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.872088783013169 8.898218411 8.521932831 Calling exit ...