Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001321/0.001321, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001588/0.001588, allocations: 212.8 kB / 22.99 MB, free: 4.977 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.423/1.423, allocations: 207.7 MB / 233.8 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.2231/0.2231, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",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.003652/0.003652, allocations: 75.89 kB / 467.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1661, allocations: 61.05 MB / 0.5162 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.004616/0.1707, allocations: 1.754 MB / 0.5179 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003846/0.1746, allocations: 1.528 MB / 0.5194 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.1747, allocations: 11.94 kB / 0.5194 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.1751, allocations: 51.75 kB / 0.5195 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.1756, allocations: 91.55 kB / 0.5196 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.1762, allocations: 147.6 kB / 0.5197 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.1766, allocations: 183.4 kB / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.1767, allocations: 10.02 kB / 0.5199 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.1769, allocations: 83.62 kB / 0.52 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.1771, allocations: 67.62 kB / 0.52 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.1772, allocations: 12 kB / 0.52 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.1774, allocations: 63.97 kB / 0.5201 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1775, allocations: 39.78 kB / 0.5201 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/0.1776, allocations: 39.73 kB / 0.5202 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.178, allocations: 175.3 kB / 0.5203 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.178, allocations: 0 / 0.5203 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.178, allocations: 0 / 0.5203 GB, free: 2.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.178, allocations: 0 / 0.5203 GB, free: 2.848 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008789/0.1789, allocations: 401.1 kB / 0.5207 GB, free: 2.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.1789, allocations: 12.03 kB / 0.5207 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.429e-05/0.179, allocations: 38.73 kB / 0.5208 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.1791, allocations: 16.84 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005046/0.1796, allocations: 178 kB / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1796, allocations: 4.375 kB / 0.521 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1796, allocations: 11.92 kB / 0.521 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.18, allocations: 156.4 kB / 0.5211 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.18, allocations: 0 / 0.5211 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.1801, allocations: 4 kB / 0.5211 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1801, allocations: 0 / 0.5211 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.1803, allocations: 31.97 kB / 0.5212 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.1806, allocations: 185.6 kB / 0.5213 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.1811, allocations: 109.1 kB / 0.5214 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1813, allocations: 41.69 kB / 0.5215 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1813, allocations: 4 kB / 0.5215 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/0.1817, allocations: 113 kB / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.1817, allocations: 0 / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006666/0.1823, allocations: 185.3 kB / 0.5218 GB, free: 1.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1825, allocations: 132.5 kB / 0.5219 GB, free: 1.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.1828, allocations: 223.8 kB / 0.5221 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1829, allocations: 25.7 kB / 0.5221 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.183, allocations: 112.1 kB / 0.5222 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.183, allocations: 35.73 kB / 0.5223 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.1831, allocations: 25.72 kB / 0.5223 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.1833, allocations: 330.8 kB / 0.5226 GB, free: 272 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1834, allocations: 27.98 kB / 0.5226 GB, free: 244 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1836, allocations: 128.5 kB / 0.5228 GB, free: 84 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.1839, allocations: 95.44 kB / 0.5229 GB, free: 15.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.1839, allocations: 3.938 kB / 0.5229 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004002/0.1843, allocations: 142.1 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1844, allocations: 4 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1844, allocations: 0 / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1844, allocations: 8.094 kB / 0.523 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1845, allocations: 19.98 kB / 0.523 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1846, allocations: 4 kB / 0.523 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1847, allocations: 19.94 kB / 0.523 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1847, allocations: 4 kB / 0.5231 GB, free: 15.77 MB / 414.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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001526/0.1848, allocations: 137.7 kB / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.1849, allocations: 15.91 kB / 0.5232 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.1854, allocations: 162.7 kB / 0.5234 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1854, allocations: 0 / 0.5234 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1854, allocations: 4 kB / 0.5234 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1854, allocations: 3.984 kB / 0.5234 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1856, allocations: 188.5 kB / 0.5235 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1856, allocations: 0 / 0.5235 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.1857, allocations: 15.98 kB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1857, allocations: 0 / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1857, allocations: 0 / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.1857, allocations: 4 kB / 0.5236 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1857, allocations: 0 / 0.5236 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.1862, allocations: 193.7 kB / 0.5237 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.1862, allocations: 15.91 kB / 0.5238 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.1862, allocations: 4 kB / 0.5238 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.1863, allocations: 11.98 kB / 0.5238 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1864, allocations: 7.984 kB / 0.5238 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.1864, allocations: 4 kB / 0.5238 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.1867, allocations: 165.5 kB / 0.5239 GB, free: 14.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1867, allocations: 0 / 0.5239 GB, free: 14.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000391/0.187, allocations: 39.94 kB / 0.524 GB, free: 14.74 MB / 414.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002874/0.1899, allocations: 1.103 MB / 0.5251 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.1903, allocations: 87.95 kB / 0.5251 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1903, allocations: 0 / 0.5251 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1904, allocations: 48.17 kB / 0.5252 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1908, allocations: 51.89 kB / 0.5252 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.1933, allocations: 1.839 MB / 0.527 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.1934, allocations: 102.2 kB / 0.5271 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.1936, allocations: 33.47 kB / 0.5272 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1937, allocations: 51.41 kB / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1937, allocations: 0 / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.2297, allocations: 5.612 MB / 0.5327 GB, free: 5.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.65, allocations: 15.8 kB / 0.5327 GB, free: 5.551 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.720714235678315]