Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001719/0.001719, 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.001405/0.001405, 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.585/1.585, allocations: 207.6 MB / 231.2 MB, free: 4.102 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.4184/0.4184, allocations: 44.23 MB / 327.3 MB, free: 6.734 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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",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.00231/0.00231, allocations: 76.47 kB / 463 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4111, allocations: 61 MB / 0.5117 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003262/0.4144, allocations: 1.667 MB / 0.5133 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.4158, allocations: 0.7882 MB / 0.5141 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.4159, allocations: 5.031 kB / 0.5141 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.4163, allocations: 66.8 kB / 0.5142 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.4165, allocations: 68.53 kB / 0.5142 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.4167, allocations: 83.3 kB / 0.5143 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.4169, allocations: 108.9 kB / 0.5144 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.4169, allocations: 5.766 kB / 0.5144 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.417, allocations: 47.62 kB / 0.5145 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.4171, allocations: 52.03 kB / 0.5145 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.4172, allocations: 0 / 0.5145 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.4172, allocations: 28.41 kB / 0.5146 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.4173, allocations: 23.56 kB / 0.5146 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.4173, allocations: 27.81 kB / 0.5146 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.4175, allocations: 107 kB / 0.5147 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4175, allocations: 0.875 kB / 0.5147 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4175, allocations: 4 kB / 0.5147 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.4176, allocations: 0 / 0.5147 GB, free: 10.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000515/0.4181, allocations: 402.4 kB / 0.5151 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4181, allocations: 13.89 kB / 0.5151 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.72e-05/0.4181, allocations: 4.125 kB / 0.5151 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.23e-05/0.4181, allocations: 32.16 kB / 0.5151 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.4182, allocations: 16.36 kB / 0.5152 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.4184, allocations: 207.9 kB / 0.5154 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4184, allocations: 8.125 kB / 0.5154 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.4185, allocations: 2.719 kB / 0.5154 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4186, allocations: 50.31 kB / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4186, allocations: 1.312 kB / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.4186, allocations: 0 / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4186, allocations: 1.281 kB / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.4187, allocations: 19.3 kB / 0.5154 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.4189, allocations: 178.8 kB / 0.5156 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.419, allocations: 57.67 kB / 0.5157 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.4191, allocations: 15.64 kB / 0.5157 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.4191, allocations: 0.9688 kB / 0.5157 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.4192, allocations: 65.02 kB / 0.5157 GB, free: 9.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.4192, allocations: 0 / 0.5157 GB, free: 9.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003147/0.4196, allocations: 102.8 kB / 0.5158 GB, free: 9.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.4196, allocations: 52.53 kB / 0.5159 GB, free: 9.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.4198, allocations: 190.5 kB / 0.5161 GB, free: 9.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.4198, allocations: 25.7 kB / 0.5161 GB, free: 9.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.4198, allocations: 104.6 kB / 0.5162 GB, free: 9.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.4199, allocations: 15.41 kB / 0.5162 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.4199, allocations: 22.83 kB / 0.5162 GB, free: 9.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.414e-05/0.4199, allocations: 326 kB / 0.5165 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.42, allocations: 11.62 kB / 0.5165 GB, free: 9.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.4201, allocations: 31.23 kB / 0.5166 GB, free: 9.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.804e-05/0.4201, allocations: 50.95 kB / 0.5166 GB, free: 9.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4201, allocations: 0 / 0.5166 GB, free: 9.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001415/0.4203, allocations: 84.03 kB / 0.5167 GB, free: 8.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4203, allocations: 9.688 kB / 0.5167 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4203, allocations: 64 / 0.5167 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4203, allocations: 5.125 kB / 0.5167 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.4204, allocations: 13.83 kB / 0.5167 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.4204, allocations: 0 / 0.5167 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.4205, allocations: 6.781 kB / 0.5167 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4205, allocations: 1.406 kB / 0.5167 GB, free: 8.953 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 (7): * Single equations (assignments): 7 * 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.24e-05/0.4206, allocations: 122.8 kB / 0.5169 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.4206, allocations: 12.16 kB / 0.5169 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.4206, allocations: 17.03 kB / 0.5169 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4206, allocations: 1.156 kB / 0.5169 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4206, allocations: 0 / 0.5169 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4206, allocations: 0 / 0.5169 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.4208, allocations: 188.2 kB / 0.5171 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4208, allocations: 5.266 kB / 0.5171 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.4208, allocations: 6.719 kB / 0.5171 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4208, allocations: 0 / 0.5171 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.4208, allocations: 1.344 kB / 0.5171 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4208, allocations: 1.375 kB / 0.5171 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4208, allocations: 0 / 0.5171 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.421, allocations: 109.6 kB / 0.5172 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.421, allocations: 91.66 kB / 0.5173 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.421, allocations: 1.5 kB / 0.5173 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/0.4211, allocations: 1.25 kB / 0.5173 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.4211, allocations: 5.484 kB / 0.5173 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4211, allocations: 2.656 kB / 0.5173 GB, free: 8.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.4212, allocations: 145 kB / 0.5174 GB, free: 8.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4212, allocations: 4 kB / 0.5174 GB, free: 8.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.4215, allocations: 16.38 kB / 0.5174 GB, free: 8.266 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001879/0.4234, allocations: 0.9643 MB / 0.5184 GB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.4235, allocations: 41.92 kB / 0.5184 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4235, allocations: 0 / 0.5184 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.4236, allocations: 18.98 kB / 0.5184 GB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.4239, allocations: 28.36 kB / 0.5185 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4256, allocations: 1.483 MB / 0.5199 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.4258, allocations: 0.7058 MB / 0.5206 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.4258, allocations: 19.78 kB / 0.5206 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.4259, allocations: 29.52 kB / 0.5207 GB, free: 5.285 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4259, allocations: 0 / 0.5207 GB, free: 5.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.4445, allocations: 3.121 MB / 0.5237 GB, free: 2.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/8.835, allocations: 3.906 kB / 0.5237 GB, free: 2.281 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.99858537799446] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 9.015777252032422 9.042109231 8.619463354 Calling exit ...