Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.001972/0.001972, allocations: 109 kB / 20.48 MB, free: 1.477 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.00208/0.00208, allocations: 207.2 kB / 23.78 MB, free: 4.688 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.559/1.559, allocations: 207.6 MB / 234.5 MB, free: 9.984 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.2976/0.2976, allocations: 44.24 MB / 331.1 MB, free: 9.512 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.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",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.003308/0.003308, allocations: 74.72 kB / 468.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1716, allocations: 61.05 MB / 0.5169 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.004099/0.1757, allocations: 1.567 MB / 0.5185 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1781, allocations: 1.057 MB / 0.5195 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.962e-05/0.1782, allocations: 0 / 0.5195 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.1785, allocations: 27.84 kB / 0.5195 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1788, allocations: 43.78 kB / 0.5196 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.1791, allocations: 87.81 kB / 0.5196 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1793, allocations: 59.84 kB / 0.5197 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1794, allocations: 19.95 kB / 0.5197 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.1795, allocations: 19.88 kB / 0.5197 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.1797, allocations: 27.84 kB / 0.5198 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1797, allocations: 4 kB / 0.5198 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1798, allocations: 51.97 kB / 0.5198 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.1799, allocations: 8 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.1799, allocations: 27.8 kB / 0.5199 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1802, allocations: 91.64 kB / 0.5199 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1802, allocations: 0 / 0.5199 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1802, allocations: 0 / 0.5199 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1802, allocations: 3.938 kB / 0.5199 GB, free: 4.211 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005722/0.1807, allocations: 294 kB / 0.5202 GB, free: 3.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1808, allocations: 12.03 kB / 0.5202 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.481e-05/0.1808, allocations: 192 / 0.5202 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.1808, allocations: 34.73 kB / 0.5203 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.1809, allocations: 16.89 kB / 0.5203 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1811, allocations: 130.5 kB / 0.5204 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1811, allocations: 4.312 kB / 0.5204 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1811, allocations: 8.125 kB / 0.5204 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1813, allocations: 63.39 kB / 0.5205 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1813, allocations: 0 / 0.5205 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1813, allocations: 0 / 0.5205 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1813, allocations: 0 / 0.5205 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.1816, allocations: 27.98 kB / 0.5205 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.182, allocations: 251.9 kB / 0.5207 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.1822, allocations: 46.55 kB / 0.5208 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.1822, allocations: 12.86 kB / 0.5208 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1823, allocations: 4 kB / 0.5208 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1823, allocations: 34.56 kB / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.1823, allocations: 0 / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006237/0.1829, allocations: 149.5 kB / 0.521 GB, free: 3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.183, allocations: 77.11 kB / 0.5211 GB, free: 2.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1832, allocations: 137.7 kB / 0.5212 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1832, allocations: 29.7 kB / 0.5212 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.1834, allocations: 92.14 kB / 0.5213 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1834, allocations: 23.78 kB / 0.5213 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.1835, allocations: 17.72 kB / 0.5213 GB, free: 2.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1837, allocations: 322.8 kB / 0.5217 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.1837, allocations: 19.98 kB / 0.5217 GB, free: 2.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.898e-05/0.1838, allocations: 41.64 kB / 0.5217 GB, free: 2.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.184, allocations: 49.02 kB / 0.5218 GB, free: 2.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.184, allocations: 4 kB / 0.5218 GB, free: 2.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002127/0.1842, allocations: 89.61 kB / 0.5218 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1842, allocations: 4 kB / 0.5219 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1842, allocations: 0 / 0.5219 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1842, allocations: 0 / 0.5219 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.1843, allocations: 16.02 kB / 0.5219 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1843, allocations: 7.938 kB / 0.5219 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.1843, allocations: 7.938 kB / 0.5219 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1843, allocations: 0 / 0.5219 GB, free: 2.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001125/0.1845, allocations: 117.8 kB / 0.522 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.1845, allocations: 7.953 kB / 0.522 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.1847, allocations: 89.72 kB / 0.5221 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1847, allocations: 8 kB / 0.5221 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1847, allocations: 0 / 0.5221 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1848, allocations: 3.938 kB / 0.5221 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1852, allocations: 321.6 kB / 0.5224 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1852, allocations: 0 / 0.5224 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.1853, allocations: 11.98 kB / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1853, allocations: 0 / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1853, allocations: 7.938 kB / 0.5224 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1853, allocations: 0 / 0.5224 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1853, allocations: 4.281 kB / 0.5224 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.1857, allocations: 187.6 kB / 0.5226 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.1857, allocations: 7.984 kB / 0.5226 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1857, allocations: 3.938 kB / 0.5226 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.1858, allocations: 7.984 kB / 0.5226 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.1858, allocations: 3.938 kB / 0.5226 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1858, allocations: 8 kB / 0.5226 GB, free: 1.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.777e-05/0.1859, allocations: 107.2 kB / 0.5227 GB, free: 1.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1859, allocations: 0 / 0.5227 GB, free: 1.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1862, allocations: 19.94 kB / 0.5228 GB, free: 1.027 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00221/0.1884, allocations: 1.043 MB / 0.5238 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1886, allocations: 63.83 kB / 0.5238 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1886, allocations: 0 / 0.5238 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.1887, allocations: 27.98 kB / 0.5239 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1891, allocations: 23.2 kB / 0.5239 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.191, allocations: 1.413 MB / 0.5253 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1914, allocations: 0.6885 MB / 0.5259 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.015e-05/0.1914, allocations: 15.98 kB / 0.526 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.1915, allocations: 27.42 kB / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1915, allocations: 0 / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.2161, allocations: 2.963 MB / 0.5289 GB, free: 10.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.65, allocations: 11.92 kB / 0.5289 GB, free: 10.56 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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: 15.164639588037971]