Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.001973/0.001973, 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.002571/0.002571, allocations: 213.7 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.699/1.699, 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.2356/0.2356, allocations: 44.26 MB / 331.1 MB, free: 9.324 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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27",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.002235/0.002235, allocations: 75.89 kB / 468.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1563, allocations: 61.05 MB / 0.5169 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.003621/0.1599, allocations: 1.606 MB / 0.5185 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.1606, allocations: 323.5 kB / 0.5188 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.1607, allocations: 0 / 0.5188 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.161, allocations: 59.8 kB / 0.5189 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1612, allocations: 55.81 kB / 0.5189 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1615, allocations: 115.7 kB / 0.519 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1617, allocations: 67.77 kB / 0.5191 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1618, allocations: 12.17 kB / 0.5191 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.206e-05/0.1619, allocations: 35.91 kB / 0.5191 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.162, allocations: 43.83 kB / 0.5192 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.162, allocations: 4 kB / 0.5192 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.98e-05/0.1621, allocations: 35.97 kB / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.1622, allocations: 23.92 kB / 0.5192 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.1622, allocations: 23.81 kB / 0.5193 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1624, allocations: 95.52 kB / 0.5194 GB, free: 4.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1624, allocations: 4 kB / 0.5194 GB, free: 4.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1624, allocations: 0 / 0.5194 GB, free: 4.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1624, allocations: 0 / 0.5194 GB, free: 4.676 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.0006833/0.1631, allocations: 329.8 kB / 0.5197 GB, free: 4.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.1632, allocations: 8.031 kB / 0.5197 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.041e-05/0.1632, allocations: 192 / 0.5197 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.1632, allocations: 42.73 kB / 0.5197 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.1633, allocations: 8.891 kB / 0.5197 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1635, allocations: 134.3 kB / 0.5199 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1635, allocations: 4.375 kB / 0.5199 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1635, allocations: 11.94 kB / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1637, allocations: 57.66 kB / 0.5199 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1637, allocations: 3.984 kB / 0.5199 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1637, allocations: 0 / 0.5199 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1637, allocations: 4 kB / 0.5199 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1639, allocations: 39.91 kB / 0.52 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.1642, allocations: 259.8 kB / 0.5202 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1644, allocations: 46.55 kB / 0.5203 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/0.1644, allocations: 20.94 kB / 0.5203 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1645, allocations: 4 kB / 0.5203 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1645, allocations: 30.56 kB / 0.5203 GB, free: 3.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1645, allocations: 0 / 0.5203 GB, free: 3.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007449/0.1652, allocations: 209.3 kB / 0.5205 GB, free: 3.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.1653, allocations: 63.33 kB / 0.5206 GB, free: 3.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1655, allocations: 182.2 kB / 0.5208 GB, free: 3.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1655, allocations: 29.7 kB / 0.5208 GB, free: 3.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.1656, allocations: 104.2 kB / 0.5209 GB, free: 2.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.1656, allocations: 23.78 kB / 0.5209 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.1657, allocations: 21.7 kB / 0.5209 GB, free: 2.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1659, allocations: 326.8 kB / 0.5212 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.166, allocations: 27.98 kB / 0.5213 GB, free: 2.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.546e-05/0.1661, allocations: 35.91 kB / 0.5213 GB, free: 2.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.1663, allocations: 76.8 kB / 0.5214 GB, free: 2.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1663, allocations: 0 / 0.5214 GB, free: 2.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003047/0.1666, allocations: 109.6 kB / 0.5215 GB, free: 2.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1666, allocations: 4 kB / 0.5215 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1666, allocations: 4 kB / 0.5215 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1666, allocations: 0 / 0.5215 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1667, allocations: 15.98 kB / 0.5215 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1667, allocations: 11.88 kB / 0.5215 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.099e-05/0.1668, allocations: 11.98 kB / 0.5215 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1668, allocations: 4 kB / 0.5215 GB, free: 2.262 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 (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 9.983e-05/0.1669, allocations: 117.8 kB / 0.5216 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.1669, allocations: 15.91 kB / 0.5216 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.1673, allocations: 126.6 kB / 0.5218 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1673, allocations: 11.98 kB / 0.5218 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1673, allocations: 3.938 kB / 0.5218 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1673, allocations: 0 / 0.5218 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.1679, allocations: 353.6 kB / 0.5221 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1679, allocations: 3.938 kB / 0.5221 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.1679, allocations: 19.98 kB / 0.5221 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1679, allocations: 3.938 kB / 0.5221 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1679, allocations: 3.984 kB / 0.5222 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.168, allocations: 0 / 0.5222 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.168, allocations: 0 / 0.5222 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1683, allocations: 215.4 kB / 0.5224 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.1683, allocations: 19.84 kB / 0.5224 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1683, allocations: 0 / 0.5224 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.1684, allocations: 11.98 kB / 0.5224 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.1684, allocations: 11.98 kB / 0.5224 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1685, allocations: 0 / 0.5224 GB, free: 1.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1686, allocations: 147.9 kB / 0.5225 GB, free: 1.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1686, allocations: 0 / 0.5225 GB, free: 1.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1688, allocations: 15.94 kB / 0.5226 GB, free: 1.117 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 (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 Backend phase and start with SimCode phase: time 0.00218/0.171, allocations: 1.079 MB / 0.5236 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.1713, allocations: 79.88 kB / 0.5237 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1713, allocations: 0 / 0.5237 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1714, allocations: 43.91 kB / 0.5237 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1718, allocations: 19.98 kB / 0.5237 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.1739, allocations: 1.635 MB / 0.5253 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.174, allocations: 92.98 kB / 0.5254 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.1741, allocations: 12.97 kB / 0.5254 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.1741, allocations: 31.36 kB / 0.5255 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1741, allocations: 0 / 0.5255 GB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.1974, allocations: 3.182 MB / 0.5286 GB, free: 10.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.5, allocations: 15.89 kB / 0.5286 GB, free: 10.73 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.324500262038782]