Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.001306/0.001306, allocations: 109 kB / 20.48 MB, free: 1.492 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.00145/0.00145, allocations: 215.8 kB / 23.79 MB, free: 4.707 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.461/1.461, allocations: 207.6 MB / 234.5 MB, free: 9.996 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.2117/0.2117, allocations: 44.23 MB / 331.1 MB, free: 9.613 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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.002247/0.002247, allocations: 67.91 kB / 468.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.122, allocations: 61.05 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003709/0.1257, allocations: 1.991 MB / 0.5189 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1271, allocations: 0.7798 MB / 0.5196 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.1272, allocations: 8 kB / 0.5196 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.1277, allocations: 267.2 kB / 0.5199 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.1281, allocations: 187.3 kB / 0.5201 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.1294, allocations: 0.6042 MB / 0.5207 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.1299, allocations: 303.2 kB / 0.5209 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.13, allocations: 64.89 kB / 0.521 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1302, allocations: 139.4 kB / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.1305, allocations: 227.2 kB / 0.5214 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.1305, allocations: 8 kB / 0.5214 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1307, allocations: 67.97 kB / 0.5214 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1308, allocations: 103.6 kB / 0.5215 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1309, allocations: 119 kB / 0.5216 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.1313, allocations: 338.3 kB / 0.522 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1314, allocations: 0 / 0.522 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1314, allocations: 0 / 0.522 GB, free: 2.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1314, allocations: 0 / 0.522 GB, free: 2.145 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008995/0.1323, allocations: 0.5933 MB / 0.5225 GB, free: 1.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1323, allocations: 8.031 kB / 0.5226 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.279e-05/0.1323, allocations: 8.188 kB / 0.5226 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.007e-05/0.1324, allocations: 38.75 kB / 0.5226 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.485e-05/0.1325, allocations: 44.66 kB / 0.5226 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.1328, allocations: 276.6 kB / 0.5229 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1329, allocations: 8.375 kB / 0.5229 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.1329, allocations: 12.12 kB / 0.5229 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.1332, allocations: 125.6 kB / 0.523 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1332, allocations: 0 / 0.523 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1332, allocations: 0 / 0.523 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.1332, allocations: 4 kB / 0.5231 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.1334, allocations: 95.92 kB / 0.5231 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.1341, allocations: 495.3 kB / 0.5236 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1343, allocations: 102.5 kB / 0.5237 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.1344, allocations: 40.83 kB / 0.5238 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1344, allocations: 0 / 0.5238 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1344, allocations: 50.5 kB / 0.5238 GB, free: 136 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 9.61e-07/0.1344, allocations: 0 / 0.5238 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001028/0.1355, allocations: 444.7 kB / 0.5242 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1355, allocations: 51.41 kB / 0.5243 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.1361, allocations: 0.5526 MB / 0.5248 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1362, allocations: 25.7 kB / 0.5248 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1363, allocations: 212.4 kB / 0.525 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.1364, allocations: 59.48 kB / 0.5251 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.1364, allocations: 33.7 kB / 0.5251 GB, free: 14.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1366, allocations: 354.7 kB / 0.5255 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1368, allocations: 63.95 kB / 0.5255 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1369, allocations: 67.95 kB / 0.5256 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1372, allocations: 163.7 kB / 0.5257 GB, free: 14.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1372, allocations: 0 / 0.5257 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004048/0.1376, allocations: 233.2 kB / 0.526 GB, free: 13.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1376, allocations: 4 kB / 0.526 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1376, allocations: 0 / 0.526 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1376, allocations: 3.938 kB / 0.526 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1378, allocations: 35.98 kB / 0.526 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1378, allocations: 3.984 kB / 0.526 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.1379, allocations: 11.98 kB / 0.526 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1379, allocations: 8 kB / 0.526 GB, free: 13.78 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 (17): * Single equations (assignments): 17 * 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.0001902/0.1381, allocations: 185.7 kB / 0.5262 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.1381, allocations: 39.72 kB / 0.5262 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.1386, allocations: 268.2 kB / 0.5265 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1386, allocations: 4 kB / 0.5265 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1387, allocations: 0 / 0.5265 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1387, allocations: 0 / 0.5265 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.1396, allocations: 0.6533 MB / 0.5271 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1396, allocations: 0 / 0.5271 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1397, allocations: 31.92 kB / 0.5272 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1397, allocations: 11.94 kB / 0.5272 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1397, allocations: 7.984 kB / 0.5272 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1397, allocations: 3.938 kB / 0.5272 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1397, allocations: 4 kB / 0.5272 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.1402, allocations: 331.1 kB / 0.5275 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.1402, allocations: 39.75 kB / 0.5276 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.1403, allocations: 0 / 0.5276 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1404, allocations: 19.86 kB / 0.5276 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.1404, allocations: 7.984 kB / 0.5276 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1404, allocations: 15.98 kB / 0.5276 GB, free: 12.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004493/0.1409, allocations: 415.1 kB / 0.528 GB, free: 11.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1409, allocations: 0 / 0.528 GB, free: 11.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.1412, allocations: 55.88 kB / 0.528 GB, free: 11.64 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 (17): * Single equations (assignments): 17 * 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.003451/0.1446, allocations: 1.462 MB / 0.5295 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.145, allocations: 155.9 kB / 0.5296 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.145, allocations: 0 / 0.5296 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1452, allocations: 83.89 kB / 0.5297 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.1458, allocations: 81.41 kB / 0.5298 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.1499, allocations: 3.202 MB / 0.5329 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.1504, allocations: 0.8181 MB / 0.5337 GB, free: 5.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.1505, allocations: 62.25 kB / 0.5338 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.1507, allocations: 123.4 kB / 0.5339 GB, free: 5.586 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1507, allocations: 0 / 0.5339 GB, free: 5.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2366/0.3873, allocations: 7.762 MB / 0.5415 GB, free: 28.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.23, allocations: 13.06 kB / 0.5415 GB, free: 28.4 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.37150298000779]