Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.001315/0.001315, allocations: 118.9 kB / 17.83 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.001366/0.001366, allocations: 210.3 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.522/1.522, 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.377/0.377, allocations: 44.23 MB / 327.3 MB, free: 6.707 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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.002987/0.002987, allocations: 75.91 kB / 463 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4162, allocations: 61 MB / 0.5117 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003785/0.42, allocations: 1.799 MB / 0.5135 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.4213, allocations: 0.8856 MB / 0.5143 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.4214, allocations: 6.625 kB / 0.5143 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.422, allocations: 292.9 kB / 0.5146 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.4223, allocations: 222.4 kB / 0.5148 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.4227, allocations: 133 kB / 0.5149 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.423, allocations: 249.6 kB / 0.5152 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.107e-05/0.423, allocations: 10.02 kB / 0.5152 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.4232, allocations: 126.2 kB / 0.5153 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.4235, allocations: 214.8 kB / 0.5155 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.4236, allocations: 6.875 kB / 0.5155 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.4237, allocations: 40.86 kB / 0.5156 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.4239, allocations: 133 kB / 0.5157 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.424, allocations: 146.2 kB / 0.5158 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.4244, allocations: 373.1 kB / 0.5162 GB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4244, allocations: 0 / 0.5162 GB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4244, allocations: 1.281 kB / 0.5162 GB, free: 9.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.4244, allocations: 0 / 0.5162 GB, free: 9.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00105/0.4255, allocations: 0.7302 MB / 0.5169 GB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/0.4255, allocations: 13.2 kB / 0.5169 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.256e-05/0.4256, allocations: 1.75 kB / 0.5169 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.4256, allocations: 36.19 kB / 0.5169 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.161e-05/0.4257, allocations: 52.89 kB / 0.517 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.4263, allocations: 447.7 kB / 0.5174 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.4264, allocations: 9.469 kB / 0.5174 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.4264, allocations: 10.59 kB / 0.5174 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.4266, allocations: 88.62 kB / 0.5175 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4266, allocations: 0 / 0.5175 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4266, allocations: 1.219 kB / 0.5175 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.4266, allocations: 5.188 kB / 0.5175 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.4267, allocations: 31.72 kB / 0.5176 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4271, allocations: 365.4 kB / 0.5179 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.4274, allocations: 109.1 kB / 0.518 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.14e-05/0.4275, allocations: 37.69 kB / 0.5181 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4275, allocations: 4 kB / 0.5181 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.4277, allocations: 105 kB / 0.5182 GB, free: 8.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.4277, allocations: 4 kB / 0.5182 GB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004382/0.4281, allocations: 201.2 kB / 0.5184 GB, free: 7.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.4281, allocations: 81.11 kB / 0.5184 GB, free: 7.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007645/0.4289, allocations: 1.003 MB / 0.5194 GB, free: 6.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.4289, allocations: 29.7 kB / 0.5194 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.429, allocations: 224.1 kB / 0.5197 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.4291, allocations: 35.72 kB / 0.5197 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.4291, allocations: 37.7 kB / 0.5197 GB, free: 6.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4293, allocations: 362.8 kB / 0.5201 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.4293, allocations: 27.98 kB / 0.5201 GB, free: 6.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.4294, allocations: 55.42 kB / 0.5201 GB, free: 6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4296, allocations: 95.28 kB / 0.5202 GB, free: 5.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4296, allocations: 4 kB / 0.5202 GB, free: 5.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002477/0.4298, allocations: 169.8 kB / 0.5204 GB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4298, allocations: 4 kB / 0.5204 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4298, allocations: 0 / 0.5204 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.4299, allocations: 4 kB / 0.5204 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.43, allocations: 23.92 kB / 0.5204 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.43, allocations: 4 kB / 0.5204 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/0.4301, allocations: 20 kB / 0.5205 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4301, allocations: 4 kB / 0.5205 GB, free: 5.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001723/0.4302, allocations: 221.6 kB / 0.5207 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.4303, allocations: 51.67 kB / 0.5207 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.644e-05/0.4304, allocations: 59.84 kB / 0.5208 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4304, allocations: 0 / 0.5208 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4304, allocations: 11.92 kB / 0.5208 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4304, allocations: 0 / 0.5208 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.4306, allocations: 329.4 kB / 0.5211 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4306, allocations: 4 kB / 0.5211 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.4307, allocations: 8 kB / 0.5211 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4307, allocations: 0 / 0.5211 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.4307, allocations: 11.98 kB / 0.5211 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4307, allocations: 3.984 kB / 0.5211 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4307, allocations: 0 / 0.5211 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.431, allocations: 205.5 kB / 0.5213 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.4311, allocations: 140.8 kB / 0.5215 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.4311, allocations: 0 / 0.5215 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.4312, allocations: 11.98 kB / 0.5215 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.4313, allocations: 7.984 kB / 0.5215 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.4313, allocations: 4 kB / 0.5215 GB, free: 4.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005785/0.4319, allocations: 0.7526 MB / 0.5222 GB, free: 3.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4319, allocations: 0 / 0.5222 GB, free: 3.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.4321, allocations: 43.94 kB / 0.5223 GB, free: 3.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001867/0.434, allocations: 1.062 MB / 0.5233 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.4342, allocations: 75.91 kB / 0.5234 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4342, allocations: 4.125 kB / 0.5234 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.4343, allocations: 39.97 kB / 0.5234 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.4348, allocations: 62.66 kB / 0.5235 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/0.4401, allocations: 4.415 MB / 0.5278 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/0.4408, allocations: 0.8427 MB / 0.5286 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.441, allocations: 54.94 kB / 0.5287 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.4413, allocations: 143.4 kB / 0.5288 GB, free: 12.89 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4413, allocations: 0 / 0.5288 GB, free: 12.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.4728, allocations: 8.86 MB / 0.5374 GB, free: 3.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.092/9.565, allocations: 19.84 kB / 0.5375 GB, free: 3.938 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.637273404980078] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.75568242603913 9.778800595 9.34983071 Calling exit ...