Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 117.7 kB / 17.08 MB, free: 6.008 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.001353/0.001353, allocations: 194.4 kB / 18.01 MB, free: 5.094 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.334/1.334, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1971/0.1971, allocations: 43.52 MB / 314.8 MB, free: 476 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.001426/0.001426, allocations: 67.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1186, allocations: 57.8 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003414/0.1221, allocations: 1.593 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006862/0.1228, allocations: 331.5 kB / 0.4904 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.1229, allocations: 0 / 0.4904 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.1235, allocations: 451.2 kB / 0.4909 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.1239, allocations: 251.5 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1243, allocations: 111.7 kB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.1246, allocations: 159.7 kB / 0.4914 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1247, allocations: 16.19 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1249, allocations: 107.8 kB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1252, allocations: 211.6 kB / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.1252, allocations: 0 / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1253, allocations: 39.97 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1255, allocations: 79.7 kB / 0.4918 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.591e-05/0.1256, allocations: 103 kB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.1259, allocations: 255 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1259, allocations: 0 / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1259, allocations: 0 / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.126, allocations: 3.938 kB / 0.4921 GB, free: 8.117 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.0008499/0.1268, allocations: 0.6292 MB / 0.4928 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1269, allocations: 11.89 kB / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.127, allocations: 36.47 kB / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1273, allocations: 296.2 kB / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1273, allocations: 384 / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1273, allocations: 4.375 kB / 0.4931 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1275, allocations: 65.59 kB / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1275, allocations: 0 / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1275, allocations: 0 / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1275, allocations: 0 / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1276, allocations: 27.92 kB / 0.4932 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.1282, allocations: 380.7 kB / 0.4935 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1285, allocations: 46.5 kB / 0.4936 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.1285, allocations: 20.94 kB / 0.4936 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1286, allocations: 0 / 0.4936 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1286, allocations: 34.55 kB / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1286, allocations: 0 / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000623/0.1292, allocations: 227.9 kB / 0.4939 GB, free: 6.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1293, allocations: 55.41 kB / 0.4939 GB, free: 6.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.1301, allocations: 0.8535 MB / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1301, allocations: 29.69 kB / 0.4948 GB, free: 5.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1303, allocations: 228 kB / 0.495 GB, free: 4.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.1303, allocations: 11.75 kB / 0.495 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1304, allocations: 17.72 kB / 0.495 GB, free: 4.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1306, allocations: 370.8 kB / 0.4954 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.1307, allocations: 15.98 kB / 0.4954 GB, free: 4.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.1307, allocations: 15.98 kB / 0.4954 GB, free: 4.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1309, allocations: 49.02 kB / 0.4954 GB, free: 4.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1309, allocations: 4 kB / 0.4954 GB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002031/0.1311, allocations: 113 kB / 0.4956 GB, free: 4.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1311, allocations: 12 kB / 0.4956 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1311, allocations: 0 / 0.4956 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1311, allocations: 0 / 0.4956 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.1312, allocations: 11.98 kB / 0.4956 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1312, allocations: 3.984 kB / 0.4956 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.1313, allocations: 11.94 kB / 0.4956 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1313, allocations: 4 kB / 0.4956 GB, free: 4.34 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 (5): * Single equations (assignments): 5 * 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.0001718/0.1315, allocations: 217.7 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.1315, allocations: 39.53 kB / 0.4958 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.1318, allocations: 140.9 kB / 0.496 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1318, allocations: 0 / 0.496 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1318, allocations: 0 / 0.496 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1318, allocations: 3.938 kB / 0.496 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.1324, allocations: 454.5 kB / 0.4964 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1324, allocations: 4 kB / 0.4964 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.1325, allocations: 15.92 kB / 0.4964 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1325, allocations: 0 / 0.4964 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1325, allocations: 3.938 kB / 0.4964 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1325, allocations: 4 kB / 0.4964 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1325, allocations: 0 / 0.4964 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1327, allocations: 207.2 kB / 0.4966 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.1329, allocations: 116.5 kB / 0.4967 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.1329, allocations: 3.938 kB / 0.4968 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.133, allocations: 8 kB / 0.4968 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.133, allocations: 3.984 kB / 0.4968 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.133, allocations: 4 kB / 0.4968 GB, free: 3.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006072/0.1337, allocations: 0.6433 MB / 0.4974 GB, free: 2.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1337, allocations: 3.938 kB / 0.4974 GB, free: 2.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1339, allocations: 20 kB / 0.4974 GB, free: 2.367 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 (5): * Single equations (assignments): 5 * 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.0009541/0.1349, allocations: 415.1 kB / 0.4978 GB, free: 2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.1351, allocations: 47.97 kB / 0.4979 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1351, allocations: 0 / 0.4979 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.1352, allocations: 27.97 kB / 0.4979 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.1357, allocations: 29.58 kB / 0.4979 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1367, allocations: 0.8124 MB / 0.4987 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.1372, allocations: 0.8221 MB / 0.4995 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.1372, allocations: 11.44 kB / 0.4995 GB, free: 196 kB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1372, allocations: 0 / 0.4995 GB, free: 196 kB / 382.1 MB Notification: Performance of Templates: time 0.00738/0.1446, allocations: 3.649 MB / 0.5031 GB, free: 12.54 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches