Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.001894/0.001894, allocations: 100.4 kB / 20.48 MB, free: 1.367 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.002048/0.002048, allocations: 212.2 kB / 23.78 MB, free: 4.523 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.472/1.472, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2572/0.2572, allocations: 44.27 MB / 331.1 MB, free: 9.301 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.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",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.002198/0.002198, allocations: 71.89 kB / 468.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1608, allocations: 61.04 MB / 0.5169 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.004073/0.1648, allocations: 1.61 MB / 0.5185 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008531/0.1657, allocations: 315.7 kB / 0.5188 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.1657, allocations: 4 kB / 0.5188 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008325/0.1666, allocations: 455.1 kB / 0.5192 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.1671, allocations: 247.4 kB / 0.5195 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.1675, allocations: 115.7 kB / 0.5196 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.1678, allocations: 167.6 kB / 0.5197 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1679, allocations: 8.188 kB / 0.5198 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1681, allocations: 111.7 kB / 0.5199 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.1684, allocations: 239.6 kB / 0.5201 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.1685, allocations: 8 kB / 0.5201 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1686, allocations: 35.92 kB / 0.5201 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1687, allocations: 87.61 kB / 0.5202 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.1688, allocations: 63.31 kB / 0.5203 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.1693, allocations: 270.5 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.1693, allocations: 3.984 kB / 0.5205 GB, free: 3.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1693, allocations: 0 / 0.5205 GB, free: 3.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1693, allocations: 0 / 0.5205 GB, free: 3.453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001012/0.1703, allocations: 0.566 MB / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.1704, allocations: 12.03 kB / 0.5211 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/0.1704, allocations: 8.125 kB / 0.5211 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.1704, allocations: 38.73 kB / 0.5211 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.1705, allocations: 44.66 kB / 0.5212 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.1709, allocations: 234.8 kB / 0.5214 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1709, allocations: 8.359 kB / 0.5214 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1709, allocations: 7.922 kB / 0.5214 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1711, allocations: 53.69 kB / 0.5215 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1711, allocations: 0 / 0.5215 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1711, allocations: 0 / 0.5215 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1711, allocations: 0 / 0.5215 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1713, allocations: 31.92 kB / 0.5215 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.1719, allocations: 347.8 kB / 0.5218 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.1722, allocations: 42.56 kB / 0.5219 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.1722, allocations: 16.94 kB / 0.5219 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1723, allocations: 7.922 kB / 0.5219 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1723, allocations: 34.56 kB / 0.5219 GB, free: 1.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.1723, allocations: 0 / 0.5219 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000831/0.1731, allocations: 236.6 kB / 0.5222 GB, free: 1.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.1732, allocations: 55.34 kB / 0.5222 GB, free: 1.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.1745, allocations: 0.8652 MB / 0.5231 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1745, allocations: 25.7 kB / 0.5231 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.1748, allocations: 224 kB / 0.5233 GB, free: 456 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.1748, allocations: 15.91 kB / 0.5233 GB, free: 440 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.1748, allocations: 13.72 kB / 0.5233 GB, free: 420 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.1751, allocations: 362.8 kB / 0.5237 GB, free: 48 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.414e-05/0.1752, allocations: 19.98 kB / 0.5237 GB, free: 28 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.564e-05/0.1753, allocations: 23.98 kB / 0.5237 GB, free: 4 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1755, allocations: 45.03 kB / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1755, allocations: 0 / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003123/0.1758, allocations: 121.3 kB / 0.5239 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1758, allocations: 8 kB / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1758, allocations: 0 / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1758, allocations: 0 / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.1759, allocations: 15.98 kB / 0.5239 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1759, allocations: 3.938 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.176, allocations: 7.938 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.176, allocations: 7.938 kB / 0.5239 GB, free: 15.79 MB / 414.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.0003408/0.1764, allocations: 213.8 kB / 0.5241 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.1765, allocations: 43.67 kB / 0.5242 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.1769, allocations: 133.1 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1769, allocations: 0 / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1769, allocations: 7.938 kB / 0.5243 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1769, allocations: 0 / 0.5243 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000697/0.1776, allocations: 421.6 kB / 0.5247 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1776, allocations: 0 / 0.5247 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.1776, allocations: 15.98 kB / 0.5247 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1776, allocations: 3.938 kB / 0.5247 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.1776, allocations: 3.938 kB / 0.5247 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1777, allocations: 192 / 0.5247 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.1777, allocations: 4 kB / 0.5247 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.178, allocations: 223.2 kB / 0.5249 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.178, allocations: 35.66 kB / 0.525 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.178, allocations: 0 / 0.525 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1782, allocations: 7.984 kB / 0.525 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.1782, allocations: 8 kB / 0.525 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.1782, allocations: 0 / 0.525 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007094/0.1789, allocations: 0.655 MB / 0.5256 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1789, allocations: 0 / 0.5256 GB, free: 13.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1792, allocations: 20 kB / 0.5256 GB, free: 13.93 MB / 414.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.002234/0.1814, allocations: 1.079 MB / 0.5267 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1816, allocations: 47.95 kB / 0.5267 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1816, allocations: 0 / 0.5267 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.789e-05/0.1817, allocations: 27.92 kB / 0.5268 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.1821, allocations: 21.97 kB / 0.5268 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.1863, allocations: 3.203 MB / 0.5299 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1866, allocations: 220.1 kB / 0.5301 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.1866, allocations: 7.984 kB / 0.5301 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.1868, allocations: 103.4 kB / 0.5302 GB, free: 9.141 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1868, allocations: 4 kB / 0.5302 GB, free: 9.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.2169, allocations: 6.226 MB / 0.5363 GB, free: 2.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.57, allocations: 7.891 kB / 0.5363 GB, free: 2.781 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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: 16.053235249011777]