Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 110.9 kB / 17.08 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 197.3 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2472/0.2472, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.91 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1245, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003568/0.1281, allocations: 1.959 MB / 0.4905 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1294, allocations: 0.6705 MB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/0.1295, allocations: 0 / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.13, allocations: 255.3 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.1304, allocations: 195.3 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.1313, allocations: 443.1 kB / 0.492 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.1317, allocations: 275.3 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1319, allocations: 64.7 kB / 0.4923 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.132, allocations: 139.4 kB / 0.4924 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.1323, allocations: 191.4 kB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.1323, allocations: 8 kB / 0.4926 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1324, allocations: 75.89 kB / 0.4927 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1326, allocations: 83.77 kB / 0.4928 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.117e-05/0.1327, allocations: 111.1 kB / 0.4929 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.133, allocations: 298.8 kB / 0.4932 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.133, allocations: 0 / 0.4932 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.133, allocations: 3.938 kB / 0.4932 GB, free: 7.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.1331, allocations: 0 / 0.4932 GB, free: 7.043 MB / 382.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.0007877/0.1338, allocations: 0.614 MB / 0.4938 GB, free: 6.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1339, allocations: 15.89 kB / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.134, allocations: 40.47 kB / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1344, allocations: 302.3 kB / 0.4941 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1344, allocations: 8.375 kB / 0.4941 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.1344, allocations: 16.31 kB / 0.4941 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.1347, allocations: 113.6 kB / 0.4942 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1347, allocations: 0 / 0.4942 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1347, allocations: 4 kB / 0.4942 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1347, allocations: 0 / 0.4942 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.1349, allocations: 71.95 kB / 0.4943 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.1355, allocations: 476.3 kB / 0.4948 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1357, allocations: 98.41 kB / 0.4949 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/0.1358, allocations: 32.84 kB / 0.4949 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.1358, allocations: 4 kB / 0.4949 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1358, allocations: 34.56 kB / 0.4949 GB, free: 5.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.1359, allocations: 4 kB / 0.4949 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008912/0.1367, allocations: 378.7 kB / 0.4953 GB, free: 4.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1368, allocations: 55.41 kB / 0.4953 GB, free: 4.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.1373, allocations: 0.5133 MB / 0.4958 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1374, allocations: 29.7 kB / 0.4959 GB, free: 4.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1375, allocations: 192.3 kB / 0.496 GB, free: 3.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.1376, allocations: 63.11 kB / 0.4961 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1376, allocations: 33.7 kB / 0.4961 GB, free: 3.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1378, allocations: 346.8 kB / 0.4965 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1379, allocations: 51.97 kB / 0.4965 GB, free: 3.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.138, allocations: 51.92 kB / 0.4966 GB, free: 3.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.1382, allocations: 116.8 kB / 0.4967 GB, free: 3.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1382, allocations: 7.938 kB / 0.4967 GB, free: 3.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003121/0.1385, allocations: 193.9 kB / 0.4969 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1386, allocations: 6.812 kB / 0.4969 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1386, allocations: 0 / 0.4969 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1386, allocations: 0 / 0.4969 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1387, allocations: 39.91 kB / 0.4969 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1388, allocations: 0 / 0.4969 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.1388, allocations: 8 kB / 0.4969 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1388, allocations: 4 kB / 0.4969 GB, free: 2.953 MB / 382.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.0001671/0.139, allocations: 185.7 kB / 0.4971 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.1391, allocations: 35.53 kB / 0.4971 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.1395, allocations: 237.3 kB / 0.4974 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1395, allocations: 4 kB / 0.4974 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1395, allocations: 0 / 0.4974 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1395, allocations: 0 / 0.4974 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008267/0.1404, allocations: 0.6113 MB / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1404, allocations: 0 / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.1405, allocations: 27.98 kB / 0.498 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1405, allocations: 4 kB / 0.498 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1405, allocations: 4 kB / 0.498 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1405, allocations: 3.938 kB / 0.498 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1405, allocations: 11.92 kB / 0.498 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.1409, allocations: 302.6 kB / 0.4983 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.141, allocations: 96.73 kB / 0.4984 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.141, allocations: 4 kB / 0.4984 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.1411, allocations: 8 kB / 0.4984 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1412, allocations: 15.91 kB / 0.4984 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1412, allocations: 7.984 kB / 0.4984 GB, free: 1.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003615/0.1416, allocations: 391.1 kB / 0.4988 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1416, allocations: 4 kB / 0.4988 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1419, allocations: 44 kB / 0.4989 GB, free: 0.8867 MB / 382.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.001682/0.1435, allocations: 0.6908 MB / 0.4995 GB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.1439, allocations: 131.8 kB / 0.4997 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1439, allocations: 0 / 0.4997 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.144, allocations: 75.91 kB / 0.4997 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.1446, allocations: 77.23 kB / 0.4998 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.1455, allocations: 0.6645 MB / 0.5004 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.1459, allocations: 0.7944 MB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.146, allocations: 35.42 kB / 0.5013 GB, free: 14.39 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.146, allocations: 0 / 0.5013 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Templates: time 0.008021/0.154, allocations: 4.331 MB / 0.5055 GB, free: 10.06 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches