Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.001995/0.001995, allocations: 122 kB / 17.83 MB, free: 5.242 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.002758/0.002758, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.513/1.513, allocations: 207.6 MB / 231.2 MB, free: 4.113 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.3438/0.3438, allocations: 44.24 MB / 327.3 MB, free: 6.699 MB / 254.1 MB " [Timeout remaining time 180] 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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.002534/0.002534, allocations: 71.91 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.295, allocations: 60.99 MB / 0.5117 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003035/0.298, allocations: 1.706 MB / 0.5134 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2993, allocations: 0.8188 MB / 0.5142 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.2994, allocations: 1.125 kB / 0.5142 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.2997, allocations: 54.89 kB / 0.5142 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.3, allocations: 63.72 kB / 0.5143 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.3003, allocations: 93.75 kB / 0.5144 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.3005, allocations: 89.55 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3007, allocations: 7.75 kB / 0.5145 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3008, allocations: 44.19 kB / 0.5145 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.3009, allocations: 34.34 kB / 0.5145 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.3009, allocations: 3.625 kB / 0.5145 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.3011, allocations: 43.45 kB / 0.5146 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.3011, allocations: 29.41 kB / 0.5146 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.3012, allocations: 38.05 kB / 0.5147 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.3015, allocations: 123.8 kB / 0.5148 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3015, allocations: 0 / 0.5148 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3015, allocations: 0 / 0.5148 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3015, allocations: 0 / 0.5148 GB, free: 10.73 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.0007299/0.3022, allocations: 422.6 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/0.3023, allocations: 13.77 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.413e-05/0.3023, allocations: 0.9375 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.3024, allocations: 43.97 kB / 0.5152 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.3024, allocations: 18.05 kB / 0.5152 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.3028, allocations: 208.7 kB / 0.5154 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3028, allocations: 5.594 kB / 0.5154 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3029, allocations: 10.83 kB / 0.5155 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3031, allocations: 50.7 kB / 0.5155 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.3031, allocations: 0 / 0.5155 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3031, allocations: 4 kB / 0.5155 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3031, allocations: 1.188 kB / 0.5155 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.3032, allocations: 26.39 kB / 0.5155 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.3036, allocations: 288.3 kB / 0.5158 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3038, allocations: 59.77 kB / 0.5159 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.3038, allocations: 16.67 kB / 0.5159 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.3039, allocations: 5.062 kB / 0.5159 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.304, allocations: 69.98 kB / 0.516 GB, free: 9.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.304, allocations: 0 / 0.516 GB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000605/0.3046, allocations: 175 kB / 0.5161 GB, free: 9.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.3047, allocations: 52.88 kB / 0.5162 GB, free: 9.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3048, allocations: 231.9 kB / 0.5164 GB, free: 9.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3049, allocations: 25.7 kB / 0.5164 GB, free: 9.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.3049, allocations: 114.6 kB / 0.5165 GB, free: 9.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3049, allocations: 31.67 kB / 0.5166 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.305, allocations: 21.12 kB / 0.5166 GB, free: 8.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.3051, allocations: 321.9 kB / 0.5169 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.3051, allocations: 27.89 kB / 0.5169 GB, free: 8.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.3052, allocations: 35.33 kB / 0.5169 GB, free: 8.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.3053, allocations: 67.38 kB / 0.517 GB, free: 8.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3053, allocations: 0 / 0.517 GB, free: 8.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002185/0.3055, allocations: 100.4 kB / 0.5171 GB, free: 8.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3055, allocations: 4.125 kB / 0.5171 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3055, allocations: 1.25 kB / 0.5171 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3056, allocations: 1.5 kB / 0.5171 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3057, allocations: 20.17 kB / 0.5171 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3057, allocations: 5.219 kB / 0.5171 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.3057, allocations: 6.781 kB / 0.5171 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3057, allocations: 6.75 kB / 0.5172 GB, free: 8.492 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 9.577e-05/0.3058, allocations: 130.2 kB / 0.5173 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.3059, allocations: 9.453 kB / 0.5173 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.3059, allocations: 14.91 kB / 0.5173 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3059, allocations: 1.375 kB / 0.5173 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.3059, allocations: 9.297 kB / 0.5173 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3059, allocations: 3.984 kB / 0.5173 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.3063, allocations: 399.9 kB / 0.5177 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3063, allocations: 1.375 kB / 0.5177 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.3063, allocations: 10.81 kB / 0.5177 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3063, allocations: 5.312 kB / 0.5177 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3063, allocations: 9.297 kB / 0.5177 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3063, allocations: 1.375 kB / 0.5177 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3064, allocations: 240 / 0.5177 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.3066, allocations: 209.7 kB / 0.5179 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.3066, allocations: 87.75 kB / 0.518 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.3066, allocations: 2.75 kB / 0.518 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.3067, allocations: 9.359 kB / 0.518 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.3067, allocations: 4.125 kB / 0.518 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3067, allocations: 2.75 kB / 0.518 GB, free: 7.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3069, allocations: 170.2 kB / 0.5182 GB, free: 7.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3069, allocations: 0 / 0.5182 GB, free: 7.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3071, allocations: 28.44 kB / 0.5182 GB, free: 7.52 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.001933/0.3091, allocations: 1.11 MB / 0.5193 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.3092, allocations: 60.86 kB / 0.5194 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3092, allocations: 0 / 0.5194 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.3093, allocations: 27.05 kB / 0.5194 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.3097, allocations: 25.73 kB / 0.5194 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3111, allocations: 1.731 MB / 0.5211 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3112, allocations: 0.7041 MB / 0.5218 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.3113, allocations: 20.86 kB / 0.5218 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.3113, allocations: 39.42 kB / 0.5218 GB, free: 4.105 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3113, allocations: 0 / 0.5218 GB, free: 4.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.3291, allocations: 3.601 MB / 0.5254 GB, free: 452 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.533/8.862, allocations: 10.47 kB / 0.5254 GB, free: 444 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.794194047979545] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.045497443992645 9.071913305 8.76560749 Calling exit ...