Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001807/0.001807, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002133/0.002133, allocations: 224 kB / 23 MB, free: 4.969 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.454/1.454, allocations: 207.7 MB / 233.8 MB, free: 9.781 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.2245/0.2245, allocations: 44.26 MB / 330.3 MB, free: 9.301 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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.002263/0.002263, allocations: 71.91 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1257, allocations: 61.05 MB / 0.5162 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003731/0.1295, allocations: 1.906 MB / 0.518 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1309, allocations: 0.7564 MB / 0.5188 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.131, allocations: 8 kB / 0.5188 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.1315, allocations: 263.2 kB / 0.519 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.1319, allocations: 199.3 kB / 0.5192 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1332, allocations: 0.6003 MB / 0.5198 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.1337, allocations: 311.1 kB / 0.5201 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1338, allocations: 52.88 kB / 0.5201 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.134, allocations: 139.4 kB / 0.5203 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.1343, allocations: 219.2 kB / 0.5205 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.1343, allocations: 12 kB / 0.5205 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1345, allocations: 63.98 kB / 0.5206 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1346, allocations: 103.5 kB / 0.5207 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1347, allocations: 95.28 kB / 0.5207 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.1352, allocations: 334.3 kB / 0.5211 GB, free: 2.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1352, allocations: 0 / 0.5211 GB, free: 2.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1352, allocations: 0 / 0.5211 GB, free: 2.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1352, allocations: 0 / 0.5211 GB, free: 2.109 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.0008555/0.1361, allocations: 0.5934 MB / 0.5216 GB, free: 1.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1361, allocations: 8.031 kB / 0.5217 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.1361, allocations: 38.75 kB / 0.5217 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.1362, allocations: 44.66 kB / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.1366, allocations: 276.6 kB / 0.522 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1367, allocations: 12.38 kB / 0.522 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.1367, allocations: 12.38 kB / 0.522 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.137, allocations: 125.5 kB / 0.5221 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.137, allocations: 0 / 0.5221 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.137, allocations: 4 kB / 0.5221 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.137, allocations: 0 / 0.5221 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.1372, allocations: 95.92 kB / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.138, allocations: 459.5 kB / 0.5227 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.1382, allocations: 110.4 kB / 0.5228 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.1383, allocations: 41.06 kB / 0.5228 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1383, allocations: 7.922 kB / 0.5228 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1384, allocations: 46.5 kB / 0.5229 GB, free: 128 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1384, allocations: 0 / 0.5229 GB, free: 128 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001049/0.1394, allocations: 432.5 kB / 0.5233 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1395, allocations: 55.34 kB / 0.5233 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/0.1401, allocations: 0.5526 MB / 0.5239 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1402, allocations: 33.7 kB / 0.5239 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.1403, allocations: 204.4 kB / 0.5241 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.1404, allocations: 63.47 kB / 0.5242 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.1405, allocations: 37.64 kB / 0.5242 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1407, allocations: 350.8 kB / 0.5245 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1408, allocations: 67.95 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1409, allocations: 68.89 kB / 0.5247 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.1412, allocations: 154.5 kB / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1412, allocations: 4 kB / 0.5248 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004096/0.1417, allocations: 233.3 kB / 0.525 GB, free: 13.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1417, allocations: 6.5 kB / 0.525 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1417, allocations: 3.938 kB / 0.525 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1417, allocations: 4 kB / 0.525 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1418, allocations: 31.97 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1419, allocations: 4 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.1419, allocations: 8 kB / 0.5251 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1419, allocations: 8 kB / 0.5251 GB, free: 13.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 (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.000188/0.1421, allocations: 189.6 kB / 0.5253 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.1422, allocations: 43.72 kB / 0.5253 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005874/0.1428, allocations: 273.4 kB / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1428, allocations: 0 / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.1428, allocations: 0 / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1428, allocations: 4 kB / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/0.1438, allocations: 0.6261 MB / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1438, allocations: 0 / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1439, allocations: 39.92 kB / 0.5262 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1439, allocations: 0 / 0.5262 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1439, allocations: 7.984 kB / 0.5262 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1439, allocations: 3.938 kB / 0.5262 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1439, allocations: 0 / 0.5262 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.1444, allocations: 333.6 kB / 0.5266 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.1445, allocations: 39.75 kB / 0.5266 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.1445, allocations: 8 kB / 0.5266 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1446, allocations: 11.92 kB / 0.5266 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.1447, allocations: 19.86 kB / 0.5266 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.1447, allocations: 4 kB / 0.5266 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004593/0.1451, allocations: 419.1 kB / 0.527 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1451, allocations: 0 / 0.527 GB, free: 11.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.1454, allocations: 55.88 kB / 0.5271 GB, free: 11.66 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.003695/0.1491, allocations: 1.508 MB / 0.5286 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.1495, allocations: 163.8 kB / 0.5287 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1495, allocations: 0 / 0.5287 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.1497, allocations: 83.89 kB / 0.5288 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.1502, allocations: 69.48 kB / 0.5289 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.1545, allocations: 3.206 MB / 0.532 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1547, allocations: 215.4 kB / 0.5322 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.1549, allocations: 66.22 kB / 0.5323 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.155, allocations: 123.4 kB / 0.5324 GB, free: 6.168 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.155, allocations: 0 / 0.5324 GB, free: 6.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2447/0.3997, allocations: 8.176 MB / 0.5404 GB, free: 28.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.97, allocations: 7.5 kB / 0.5404 GB, free: 28.34 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.004848150070757]