Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") 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: 117.7 kB / 17.08 MB, free: 5.965 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.001069/0.001068, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.524/1.524, 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.2059/0.2059, allocations: 43.53 MB / 314.8 MB, free: 468 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.001327/0.001328, allocations: 69.62 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1147, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003604/0.1183, allocations: 1.963 MB / 0.4905 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1203, allocations: 1.057 MB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.1205, allocations: 4 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1208, allocations: 59.56 kB / 0.4916 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.1213, allocations: 143.4 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1225, allocations: 0.5574 MB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.1229, allocations: 275.3 kB / 0.4925 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1231, allocations: 72.55 kB / 0.4926 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.1233, allocations: 123.5 kB / 0.4927 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.1236, allocations: 183.4 kB / 0.4929 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.1236, allocations: 12 kB / 0.4929 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1237, allocations: 39.92 kB / 0.4929 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.1239, allocations: 151.5 kB / 0.4931 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.124, allocations: 150.7 kB / 0.4932 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1244, allocations: 370.5 kB / 0.4936 GB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1244, allocations: 0 / 0.4936 GB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1244, allocations: 0 / 0.4936 GB, free: 6.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1244, allocations: 4 kB / 0.4936 GB, free: 6.645 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008924/0.1253, allocations: 0.7347 MB / 0.4943 GB, free: 5.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1254, allocations: 15.89 kB / 0.4943 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.1254, allocations: 48.28 kB / 0.4943 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.1259, allocations: 447.8 kB / 0.4948 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.126, allocations: 8.375 kB / 0.4948 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.126, allocations: 16.12 kB / 0.4948 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1263, allocations: 147.2 kB / 0.4949 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1263, allocations: 11.91 kB / 0.4949 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1263, allocations: 0 / 0.4949 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1263, allocations: 4 kB / 0.4949 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.1265, allocations: 95.88 kB / 0.495 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.1274, allocations: 0.676 MB / 0.4957 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1276, allocations: 113.2 kB / 0.4958 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.1277, allocations: 49.81 kB / 0.4958 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1278, allocations: 0 / 0.4958 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1278, allocations: 42.5 kB / 0.4959 GB, free: 4.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.1278, allocations: 0 / 0.4959 GB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001393/0.1292, allocations: 0.5294 MB / 0.4964 GB, free: 3.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.1293, allocations: 85.11 kB / 0.4965 GB, free: 3.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/0.1302, allocations: 0.8544 MB / 0.4973 GB, free: 2.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1302, allocations: 25.7 kB / 0.4973 GB, free: 2.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1304, allocations: 252.3 kB / 0.4976 GB, free: 2.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.1304, allocations: 51.19 kB / 0.4976 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.1305, allocations: 33.7 kB / 0.4977 GB, free: 2.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1307, allocations: 378.7 kB / 0.498 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1308, allocations: 67.95 kB / 0.4981 GB, free: 1.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.131, allocations: 77.61 kB / 0.4982 GB, free: 1.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.1314, allocations: 157.6 kB / 0.4983 GB, free: 1.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1314, allocations: 0 / 0.4983 GB, free: 1.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004896/0.1319, allocations: 240.9 kB / 0.4985 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1319, allocations: 8 kB / 0.4986 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1319, allocations: 0 / 0.4986 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.132, allocations: 0 / 0.4986 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1322, allocations: 35.97 kB / 0.4986 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1322, allocations: 3.984 kB / 0.4986 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1323, allocations: 12 kB / 0.4986 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1324, allocations: 11.98 kB / 0.4986 GB, free: 1.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001958/0.1326, allocations: 221.6 kB / 0.4988 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.1327, allocations: 55.47 kB / 0.4989 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.1333, allocations: 298.9 kB / 0.4992 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1333, allocations: 4 kB / 0.4992 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1333, allocations: 0 / 0.4992 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1333, allocations: 0 / 0.4992 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1344, allocations: 0.7864 MB / 0.4999 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1344, allocations: 4 kB / 0.4999 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1346, allocations: 43.91 kB / 0.5 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1346, allocations: 0 / 0.5 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1346, allocations: 4 kB / 0.5 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1346, allocations: 3.938 kB / 0.5 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1346, allocations: 0 / 0.5 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.1352, allocations: 410.1 kB / 0.5004 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1353, allocations: 132.5 kB / 0.5005 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.1354, allocations: 4 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1356, allocations: 15.92 kB / 0.5005 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.1356, allocations: 19.92 kB / 0.5005 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1356, allocations: 7.984 kB / 0.5006 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006749/0.1363, allocations: 0.6237 MB / 0.5012 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1363, allocations: 0 / 0.5012 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1367, allocations: 60 kB / 0.5012 GB, free: 14.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0009203/0.1376, allocations: 411.2 kB / 0.5016 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.1381, allocations: 159.8 kB / 0.5018 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1381, allocations: 0 / 0.5018 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.1383, allocations: 96.34 kB / 0.5019 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.1389, allocations: 78.28 kB / 0.5019 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.1403, allocations: 0.9131 MB / 0.5028 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.1408, allocations: 0.8536 MB / 0.5037 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1409, allocations: 39.42 kB / 0.5037 GB, free: 11.83 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1409, allocations: 0 / 0.5037 GB, free: 11.83 MB / 398.1 MB Notification: Performance of Templates: time 0.008827/0.1497, allocations: 5.611 MB / 0.5092 GB, free: 6.219 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches