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.001201/0.001201, allocations: 104.5 kB / 16.4 MB, free: 6.508 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.001378/0.001379, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.509/1.509, allocations: 205.1 MB / 223.2 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.2281/0.2281, allocations: 43.52 MB / 314.1 MB, free: 460 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.001316/0.001316, allocations: 63.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003022/0.1234, allocations: 1.962 MB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1245, allocations: 0.6744 MB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.1246, allocations: 8 kB / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.1251, allocations: 251.3 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.1254, allocations: 195.3 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008858/0.1264, allocations: 455 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1267, allocations: 271.3 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.1269, allocations: 60.7 kB / 0.4916 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.127, allocations: 135.4 kB / 0.4918 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1273, allocations: 191.4 kB / 0.492 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.1273, allocations: 12 kB / 0.492 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1274, allocations: 71.91 kB / 0.492 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1276, allocations: 87.73 kB / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.83e-05/0.1277, allocations: 103.1 kB / 0.4922 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.128, allocations: 294.9 kB / 0.4925 GB, free: 7.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.128, allocations: 4 kB / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.128, allocations: 0 / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.128, allocations: 0 / 0.4925 GB, free: 7.039 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.0007094/0.1288, allocations: 0.6185 MB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1288, allocations: 11.89 kB / 0.4931 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.1289, allocations: 40.47 kB / 0.4932 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1292, allocations: 298.3 kB / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1292, allocations: 8.375 kB / 0.4935 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.1293, allocations: 8.375 kB / 0.4935 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.1295, allocations: 121.6 kB / 0.4936 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1295, allocations: 0 / 0.4936 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1295, allocations: 4 kB / 0.4936 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1295, allocations: 4 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1297, allocations: 71.89 kB / 0.4937 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.1303, allocations: 476.2 kB / 0.4941 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1305, allocations: 94.53 kB / 0.4942 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.1306, allocations: 40.78 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.1306, allocations: 4 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1307, allocations: 34.56 kB / 0.4943 GB, free: 5.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1307, allocations: 0 / 0.4943 GB, free: 5.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008843/0.1315, allocations: 376.1 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1316, allocations: 55.41 kB / 0.4947 GB, free: 4.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.1322, allocations: 0.5133 MB / 0.4952 GB, free: 4.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1322, allocations: 29.7 kB / 0.4952 GB, free: 4.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1323, allocations: 196.3 kB / 0.4954 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.1324, allocations: 63.09 kB / 0.4955 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.1324, allocations: 29.7 kB / 0.4955 GB, free: 3.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1326, allocations: 354.8 kB / 0.4958 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1327, allocations: 47.97 kB / 0.4959 GB, free: 3.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1329, allocations: 54.78 kB / 0.4959 GB, free: 3.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1331, allocations: 120.8 kB / 0.496 GB, free: 3.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1331, allocations: 3.938 kB / 0.496 GB, free: 3.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003155/0.1335, allocations: 187.9 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1335, allocations: 15.98 kB / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1335, allocations: 0 / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1335, allocations: 0 / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1337, allocations: 31.98 kB / 0.4963 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1337, allocations: 3.938 kB / 0.4963 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.1338, allocations: 11.98 kB / 0.4963 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1338, allocations: 4 kB / 0.4963 GB, free: 2.938 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.0001635/0.134, allocations: 177.7 kB / 0.4965 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.134, allocations: 39.53 kB / 0.4965 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.1344, allocations: 229.3 kB / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1345, allocations: 0 / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1345, allocations: 0 / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1345, allocations: 0 / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007741/0.1353, allocations: 0.6036 MB / 0.4973 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1353, allocations: 11.94 kB / 0.4973 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1354, allocations: 39.97 kB / 0.4974 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1354, allocations: 0 / 0.4974 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1354, allocations: 11.92 kB / 0.4974 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1354, allocations: 0 / 0.4974 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1354, allocations: 3.938 kB / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.1359, allocations: 296.8 kB / 0.4976 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.136, allocations: 104.7 kB / 0.4977 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.136, allocations: 0 / 0.4977 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.1361, allocations: 11.98 kB / 0.4978 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.1362, allocations: 15.92 kB / 0.4978 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1362, allocations: 8 kB / 0.4978 GB, free: 1.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004388/0.1366, allocations: 383.1 kB / 0.4981 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1366, allocations: 0 / 0.4981 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1369, allocations: 51.98 kB / 0.4982 GB, free: 0.8789 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.001574/0.1385, allocations: 0.6818 MB / 0.4989 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.1388, allocations: 135.7 kB / 0.499 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1388, allocations: 4 kB / 0.499 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.139, allocations: 71.91 kB / 0.4991 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.1396, allocations: 81.22 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.1405, allocations: 0.6508 MB / 0.4998 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1409, allocations: 0.8022 MB / 0.5006 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.141, allocations: 45.86 kB / 0.5006 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.141, allocations: 31.42 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.141, allocations: 0 / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Templates: time 0.007182/0.1482, allocations: 3.168 MB / 0.5037 GB, free: 11.19 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins/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