Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001776/0.001776, allocations: 118.9 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.002524/0.002524, allocations: 203 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.794/1.794, allocations: 207.6 MB / 231.2 MB, free: 4.125 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.4021/0.4021, allocations: 44.23 MB / 327.3 MB, free: 6.715 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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.00298/0.00298, allocations: 68.52 kB / 463 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3265, allocations: 61 MB / 0.5117 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003461/0.3299, allocations: 1.709 MB / 0.5134 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3313, allocations: 0.8149 MB / 0.5142 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3315, allocations: 1.031 kB / 0.5142 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.3318, allocations: 41.83 kB / 0.5142 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.3321, allocations: 57.8 kB / 0.5143 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.3324, allocations: 86.84 kB / 0.5144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.3326, allocations: 92.19 kB / 0.5144 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3327, allocations: 9.156 kB / 0.5144 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3328, allocations: 47.91 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.3329, allocations: 38.16 kB / 0.5145 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.3329, allocations: 8.094 kB / 0.5145 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.333, allocations: 33.86 kB / 0.5146 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.3331, allocations: 25.94 kB / 0.5146 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.3332, allocations: 27.72 kB / 0.5146 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.3335, allocations: 117.5 kB / 0.5147 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3335, allocations: 0 / 0.5147 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3335, allocations: 0 / 0.5147 GB, free: 10.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3335, allocations: 1.531 kB / 0.5147 GB, free: 10.85 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.0006427/0.3341, allocations: 401.5 kB / 0.5151 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3342, allocations: 18.73 kB / 0.5151 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.414e-05/0.3342, allocations: 8.172 kB / 0.5151 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.587e-05/0.3342, allocations: 32.69 kB / 0.5152 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.3343, allocations: 8.516 kB / 0.5152 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.3345, allocations: 202.5 kB / 0.5154 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3346, allocations: 5.906 kB / 0.5154 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.3346, allocations: 5.719 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3347, allocations: 58.14 kB / 0.5154 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3347, allocations: 13.67 kB / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3348, allocations: 0 / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3348, allocations: 0 / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3349, allocations: 19.58 kB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.3352, allocations: 289 kB / 0.5157 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3354, allocations: 51.22 kB / 0.5158 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.3355, allocations: 25.78 kB / 0.5158 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3355, allocations: 0 / 0.5158 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.3356, allocations: 69.42 kB / 0.5159 GB, free: 9.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3356, allocations: 0 / 0.5159 GB, free: 9.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000555/0.3362, allocations: 173.9 kB / 0.5161 GB, free: 9.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.3362, allocations: 52.78 kB / 0.5161 GB, free: 9.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3364, allocations: 175.6 kB / 0.5163 GB, free: 9.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3364, allocations: 27.08 kB / 0.5163 GB, free: 9.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.3364, allocations: 100.2 kB / 0.5164 GB, free: 9.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.3365, allocations: 27.91 kB / 0.5164 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3365, allocations: 20.59 kB / 0.5164 GB, free: 9.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.3365, allocations: 321.6 kB / 0.5167 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.3366, allocations: 22.98 kB / 0.5168 GB, free: 8.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/0.3367, allocations: 43.39 kB / 0.5168 GB, free: 8.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.3368, allocations: 59.83 kB / 0.5169 GB, free: 8.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3368, allocations: 0 / 0.5169 GB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.337, allocations: 102.5 kB / 0.517 GB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.337, allocations: 6.562 kB / 0.517 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.337, allocations: 0 / 0.517 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.337, allocations: 1.344 kB / 0.517 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.3371, allocations: 17.11 kB / 0.517 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3371, allocations: 7.938 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.3371, allocations: 6.5 kB / 0.517 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-06/0.3372, allocations: 2.875 kB / 0.517 GB, free: 8.676 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.806e-05/0.3372, allocations: 122.1 kB / 0.5171 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.3373, allocations: 17.2 kB / 0.5171 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.3373, allocations: 13.16 kB / 0.5172 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3373, allocations: 0 / 0.5172 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3373, allocations: 9.219 kB / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3373, allocations: 4 kB / 0.5172 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.3377, allocations: 392.4 kB / 0.5175 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3377, allocations: 1.062 kB / 0.5175 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.3377, allocations: 14.77 kB / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3377, allocations: 4.906 kB / 0.5176 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3377, allocations: 2.719 kB / 0.5176 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3377, allocations: 384 / 0.5176 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3377, allocations: 1.25 kB / 0.5176 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.3379, allocations: 203.8 kB / 0.5178 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.3379, allocations: 88.25 kB / 0.5178 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.338, allocations: 9.219 kB / 0.5178 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.338, allocations: 6.109 kB / 0.5179 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3381, allocations: 3.312 kB / 0.5179 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.3381, allocations: 3.438 kB / 0.5179 GB, free: 7.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.094e-05/0.3382, allocations: 143.8 kB / 0.518 GB, free: 7.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3382, allocations: 0 / 0.518 GB, free: 7.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3384, allocations: 25 kB / 0.518 GB, free: 7.719 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.002102/0.3405, allocations: 1.109 MB / 0.5191 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3408, allocations: 47.17 kB / 0.5191 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3408, allocations: 1.531 kB / 0.5192 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.3409, allocations: 31.55 kB / 0.5192 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.3412, allocations: 28.2 kB / 0.5192 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.3431, allocations: 1.607 MB / 0.5208 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.3433, allocations: 0.7002 MB / 0.5215 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.699e-05/0.3433, allocations: 21.17 kB / 0.5215 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3434, allocations: 31.42 kB / 0.5215 GB, free: 4.445 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3434, allocations: 0 / 0.5215 GB, free: 4.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.3615, allocations: 3.366 MB / 0.5248 GB, free: 1.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.664, allocations: 6.75 kB / 0.5248 GB, free: 1.008 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.99871518695727] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.844555079005659 8.8591732 8.522738372 Calling exit ...