Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 111 kB / 17.08 MB, free: 5.969 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.001252/0.001252, allocations: 194.9 kB / 18.01 MB, free: 5.055 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.358/1.358, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2003/0.2003, allocations: 43.52 MB / 314.8 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.001652/0.001652, allocations: 65.47 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1176, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.00325/0.1209, allocations: 1.612 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00063/0.1216, allocations: 323.6 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.1216, allocations: 0 / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.1222, allocations: 455.1 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.1226, allocations: 255.4 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.123, allocations: 111.7 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.1233, allocations: 167.7 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1235, allocations: 16.17 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1236, allocations: 107.8 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.1239, allocations: 215.5 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1239, allocations: 0 / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.124, allocations: 32 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1242, allocations: 87.67 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.1243, allocations: 103 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.1246, allocations: 255 kB / 0.4922 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1246, allocations: 0 / 0.4922 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1246, allocations: 0 / 0.4922 GB, free: 8.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1246, allocations: 0 / 0.4922 GB, free: 8.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007429/0.1254, allocations: 0.6375 MB / 0.4928 GB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1254, allocations: 11.89 kB / 0.4928 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.1255, allocations: 44.38 kB / 0.4928 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.1258, allocations: 288.2 kB / 0.4931 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1258, allocations: 384 / 0.4931 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1258, allocations: 12.36 kB / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.126, allocations: 57.61 kB / 0.4932 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.126, allocations: 7.938 kB / 0.4932 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.126, allocations: 0 / 0.4932 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.126, allocations: 0 / 0.4932 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.1262, allocations: 43.89 kB / 0.4932 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.1267, allocations: 384.7 kB / 0.4936 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1268, allocations: 38.66 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.1269, allocations: 28.83 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1269, allocations: 0 / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.127, allocations: 38.5 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.127, allocations: 0 / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008132/0.1278, allocations: 287.8 kB / 0.494 GB, free: 6.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1279, allocations: 51.41 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008144/0.1287, allocations: 0.8573 MB / 0.4949 GB, free: 5.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1287, allocations: 25.7 kB / 0.4949 GB, free: 5.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.1289, allocations: 212.1 kB / 0.4951 GB, free: 4.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1289, allocations: 35.61 kB / 0.4951 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.129, allocations: 17.72 kB / 0.4951 GB, free: 4.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1291, allocations: 362.8 kB / 0.4955 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1292, allocations: 31.97 kB / 0.4955 GB, free: 4.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-05/0.1293, allocations: 35.97 kB / 0.4955 GB, free: 4.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.1295, allocations: 76.8 kB / 0.4956 GB, free: 4.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1295, allocations: 3.938 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000282/0.1298, allocations: 137.1 kB / 0.4958 GB, free: 4.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1298, allocations: 4 kB / 0.4958 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1299, allocations: 4 kB / 0.4958 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1299, allocations: 7.984 kB / 0.4958 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.13, allocations: 15.98 kB / 0.4958 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.13, allocations: 0 / 0.4958 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.1301, allocations: 19.92 kB / 0.4958 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1301, allocations: 0 / 0.4958 GB, free: 4.102 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 (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.0002139/0.1303, allocations: 213.7 kB / 0.496 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.1304, allocations: 43.44 kB / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.1307, allocations: 173.3 kB / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1308, allocations: 0 / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1308, allocations: 0 / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1308, allocations: 3.938 kB / 0.4962 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.1314, allocations: 494.4 kB / 0.4967 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1314, allocations: 0 / 0.4967 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.1315, allocations: 19.92 kB / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1315, allocations: 4 kB / 0.4967 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1315, allocations: 7.938 kB / 0.4967 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1315, allocations: 0 / 0.4967 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1315, allocations: 0 / 0.4967 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1319, allocations: 243.4 kB / 0.4969 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.132, allocations: 108.6 kB / 0.4971 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.132, allocations: 7.938 kB / 0.4971 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.1321, allocations: 7.984 kB / 0.4971 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1321, allocations: 8 kB / 0.4971 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1321, allocations: 0 / 0.4971 GB, free: 2.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00057/0.1327, allocations: 0.6433 MB / 0.4977 GB, free: 2.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1327, allocations: 4 kB / 0.4977 GB, free: 2.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000273/0.133, allocations: 31.98 kB / 0.4977 GB, free: 2.008 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 (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.0009653/0.134, allocations: 416.6 kB / 0.4981 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.1343, allocations: 75.94 kB / 0.4982 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1343, allocations: 0 / 0.4982 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1344, allocations: 47.91 kB / 0.4983 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.1349, allocations: 25.81 kB / 0.4983 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1361, allocations: 0.8282 MB / 0.4991 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.1366, allocations: 0.826 MB / 0.4999 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.1367, allocations: 11.44 kB / 0.4999 GB, free: 15.76 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.1367, allocations: 0 / 0.4999 GB, free: 15.76 MB / 398.1 MB Notification: Performance of Templates: time 0.007445/0.1441, allocations: 3.762 MB / 0.5036 GB, free: 12 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches