Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.001866/0.001866, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002268/0.002268, allocations: 218.1 kB / 22.99 MB, free: 4.977 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.597/1.597, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2283/0.2283, allocations: 44.27 MB / 330.3 MB, free: 9.297 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: translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") [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.003725/0.003725, allocations: 71.91 kB / 468 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1299, allocations: 61.05 MB / 0.5167 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003271/0.1332, allocations: 1.607 MB / 0.5182 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006612/0.1338, allocations: 323.7 kB / 0.5185 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.1339, allocations: 4 kB / 0.5185 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.1345, allocations: 455.1 kB / 0.519 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.1348, allocations: 255.4 kB / 0.5192 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1351, allocations: 115.7 kB / 0.5193 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1354, allocations: 155.7 kB / 0.5195 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.1355, allocations: 16.16 kB / 0.5195 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1356, allocations: 111.7 kB / 0.5196 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.1359, allocations: 255.4 kB / 0.5198 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1359, allocations: 4 kB / 0.5198 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-05/0.136, allocations: 32 kB / 0.5199 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1361, allocations: 79.69 kB / 0.5199 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.1362, allocations: 67.3 kB / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1366, allocations: 266.5 kB / 0.5203 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1366, allocations: 0 / 0.5203 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1366, allocations: 0 / 0.5203 GB, free: 2.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1366, allocations: 7.938 kB / 0.5203 GB, free: 2.922 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.0008513/0.1374, allocations: 0.5738 MB / 0.5208 GB, free: 2.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1375, allocations: 8.031 kB / 0.5208 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.1376, allocations: 44.66 kB / 0.5209 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1378, allocations: 242.8 kB / 0.5211 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1379, allocations: 4.375 kB / 0.5211 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.1379, allocations: 384 / 0.5211 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.138, allocations: 61.61 kB / 0.5212 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1381, allocations: 3.938 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1381, allocations: 0 / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1381, allocations: 8 kB / 0.5212 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1382, allocations: 31.97 kB / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.1386, allocations: 320.4 kB / 0.5215 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1388, allocations: 46.48 kB / 0.5216 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.585e-05/0.1388, allocations: 20.94 kB / 0.5216 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1389, allocations: 4 kB / 0.5216 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1389, allocations: 30.56 kB / 0.5216 GB, free: 1.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1389, allocations: 4 kB / 0.5216 GB, free: 1.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008497/0.1398, allocations: 292.7 kB / 0.5219 GB, free: 1.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1398, allocations: 55.39 kB / 0.522 GB, free: 1.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.1407, allocations: 0.8496 MB / 0.5228 GB, free: 204 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1407, allocations: 33.7 kB / 0.5228 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1409, allocations: 208.1 kB / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1409, allocations: 31.73 kB / 0.523 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.141, allocations: 21.72 kB / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1412, allocations: 362.7 kB / 0.5234 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1413, allocations: 27.98 kB / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.863e-05/0.1414, allocations: 31.97 kB / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.1416, allocations: 80.8 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1416, allocations: 0 / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002949/0.1419, allocations: 145.2 kB / 0.5237 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.142, allocations: 7.984 kB / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.142, allocations: 0 / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.142, allocations: 0 / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1421, allocations: 23.98 kB / 0.5237 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1421, allocations: 0 / 0.5237 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.1422, allocations: 15.98 kB / 0.5237 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1422, allocations: 3.938 kB / 0.5237 GB, free: 15.19 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 (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 0.000207/0.1424, allocations: 209.7 kB / 0.5239 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.1424, allocations: 47.72 kB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.1428, allocations: 161.4 kB / 0.5241 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1428, allocations: 12.28 kB / 0.5241 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1428, allocations: 3.938 kB / 0.5242 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1428, allocations: 3.984 kB / 0.5242 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000649/0.1435, allocations: 434 kB / 0.5246 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1435, allocations: 0 / 0.5246 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.1436, allocations: 19.98 kB / 0.5246 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1436, allocations: 0 / 0.5246 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1436, allocations: 8 kB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1436, allocations: 0 / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1436, allocations: 7.938 kB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.1439, allocations: 243.6 kB / 0.5248 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.144, allocations: 31.72 kB / 0.5249 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.144, allocations: 4 kB / 0.5249 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.1441, allocations: 7.984 kB / 0.5249 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1441, allocations: 27.8 kB / 0.5249 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1441, allocations: 0 / 0.5249 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006575/0.1448, allocations: 0.6433 MB / 0.5255 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1448, allocations: 0 / 0.5255 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1451, allocations: 24 kB / 0.5256 GB, free: 13.26 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 (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.001606/0.1467, allocations: 428.7 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.147, allocations: 79.92 kB / 0.526 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.147, allocations: 0 / 0.526 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.1471, allocations: 43.91 kB / 0.5261 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.1475, allocations: 37.75 kB / 0.5261 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1487, allocations: 0.7947 MB / 0.5269 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1489, allocations: 220.1 kB / 0.5271 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.193e-05/0.149, allocations: 8 kB / 0.5271 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.149, allocations: 15.44 kB / 0.5271 GB, free: 11.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.149, allocations: 0 / 0.5271 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Templates: time 0.005448/0.1545, allocations: 1.768 MB / 0.5289 GB, free: 9.883 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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: 5.50760916993022]