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.001333/0.001333, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001565/0.001565, allocations: 214.8 kB / 23.77 MB, free: 4.551 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.584/1.584, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.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.2701/0.2701, allocations: 44.27 MB / 331.1 MB, free: 9.32 MB / 270.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.002337/0.002337, allocations: 67.91 kB / 468.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1805, allocations: 61.05 MB / 0.517 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003922/0.1844, allocations: 1.651 MB / 0.5186 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.186, allocations: 0.7584 MB / 0.5193 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.1861, allocations: 3.938 kB / 0.5193 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.1865, allocations: 59.8 kB / 0.5194 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.1868, allocations: 71.67 kB / 0.5195 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1871, allocations: 83.77 kB / 0.5195 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1873, allocations: 99.73 kB / 0.5196 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.1874, allocations: 8.266 kB / 0.5196 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1875, allocations: 43.78 kB / 0.5197 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1876, allocations: 47.83 kB / 0.5197 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.1877, allocations: 8 kB / 0.5197 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1879, allocations: 39.92 kB / 0.5198 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.1879, allocations: 15.92 kB / 0.5198 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.188, allocations: 31.78 kB / 0.5198 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1883, allocations: 95.53 kB / 0.5199 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1883, allocations: 0 / 0.5199 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1883, allocations: 3.938 kB / 0.5199 GB, free: 4.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1883, allocations: 0 / 0.5199 GB, free: 4.098 MB / 398.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.0006718/0.189, allocations: 325.8 kB / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.189, allocations: 12.03 kB / 0.5202 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.601e-05/0.189, allocations: 4.188 kB / 0.5202 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.1891, allocations: 38.67 kB / 0.5203 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.1891, allocations: 12.84 kB / 0.5203 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1895, allocations: 146.3 kB / 0.5204 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1895, allocations: 8.125 kB / 0.5204 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1895, allocations: 4 kB / 0.5204 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1896, allocations: 45.67 kB / 0.5205 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1897, allocations: 0 / 0.5205 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1897, allocations: 0 / 0.5205 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.1897, allocations: 4 kB / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.931e-05/0.1898, allocations: 19.98 kB / 0.5205 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.19, allocations: 152.7 kB / 0.5206 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.1902, allocations: 54.55 kB / 0.5207 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.1903, allocations: 16.86 kB / 0.5207 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1903, allocations: 0 / 0.5207 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.1905, allocations: 63.39 kB / 0.5208 GB, free: 3.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1905, allocations: 0 / 0.5208 GB, free: 3.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000351/0.1908, allocations: 101.5 kB / 0.5209 GB, free: 2.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1909, allocations: 59.41 kB / 0.5209 GB, free: 2.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.1911, allocations: 202 kB / 0.5211 GB, free: 2.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1911, allocations: 29.7 kB / 0.5212 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.1912, allocations: 100.1 kB / 0.5212 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.1912, allocations: 7.953 kB / 0.5213 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.1913, allocations: 17.72 kB / 0.5213 GB, free: 2.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1914, allocations: 322.8 kB / 0.5216 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/0.1915, allocations: 15.98 kB / 0.5216 GB, free: 2.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.1916, allocations: 33.7 kB / 0.5216 GB, free: 2.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1917, allocations: 53.84 kB / 0.5217 GB, free: 2.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.1917, allocations: 4 kB / 0.5217 GB, free: 2.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001804/0.1919, allocations: 81.58 kB / 0.5218 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1919, allocations: 11.94 kB / 0.5218 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1919, allocations: 0 / 0.5218 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1919, allocations: 0 / 0.5218 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.192, allocations: 11.98 kB / 0.5218 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.192, allocations: 0 / 0.5218 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.1921, allocations: 11.94 kB / 0.5218 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1921, allocations: 4.031 kB / 0.5218 GB, free: 1.957 MB / 398.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 0.0001489/0.1922, allocations: 133.8 kB / 0.5219 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.1923, allocations: 11.89 kB / 0.5219 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.1925, allocations: 98.02 kB / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1925, allocations: 0 / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1925, allocations: 0 / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1925, allocations: 0 / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1927, allocations: 160.6 kB / 0.5222 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1927, allocations: 0 / 0.5222 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.1927, allocations: 8 kB / 0.5222 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1927, allocations: 0 / 0.5222 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1928, allocations: 8 kB / 0.5222 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1928, allocations: 0 / 0.5222 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1928, allocations: 0 / 0.5222 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.193, allocations: 117 kB / 0.5223 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.193, allocations: 12.08 kB / 0.5223 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.193, allocations: 7.984 kB / 0.5223 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.1931, allocations: 0 / 0.5223 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1931, allocations: 8 kB / 0.5223 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1931, allocations: 7.922 kB / 0.5223 GB, free: 1.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1933, allocations: 139.2 kB / 0.5225 GB, free: 1.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1933, allocations: 4 kB / 0.5225 GB, free: 1.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1935, allocations: 23.98 kB / 0.5225 GB, free: 1.152 MB / 398.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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.00223/0.1957, allocations: 0.9698 MB / 0.5235 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.196, allocations: 51.92 kB / 0.5235 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.196, allocations: 0 / 0.5235 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.397e-05/0.196, allocations: 19.98 kB / 0.5235 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1964, allocations: 23.98 kB / 0.5235 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.1987, allocations: 1.49 MB / 0.525 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.1988, allocations: 83.31 kB / 0.5251 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.886e-05/0.1988, allocations: 20.39 kB / 0.5251 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.1989, allocations: 31.42 kB / 0.5251 GB, free: 14.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1989, allocations: 0 / 0.5251 GB, free: 14.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.226, allocations: 3.435 MB / 0.5285 GB, free: 10.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.88, allocations: 12.02 kB / 0.5285 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.413932924042456] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.097222742042504 12.321922985 12.130552207 Calling exit ...