Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 102.2 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.001091/0.001091, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.299/1.299, 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.2159/0.2159, allocations: 43.52 MB / 314.1 MB, free: 440 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.001353/0.001353, allocations: 73.45 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.121, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003276/0.1244, allocations: 1.604 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.1251, allocations: 335.5 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1251, allocations: 0 / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.1257, allocations: 451.1 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.1262, allocations: 255.5 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1265, allocations: 111.7 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1268, allocations: 159.7 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1269, allocations: 20.17 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1271, allocations: 111.7 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1273, allocations: 211.6 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1274, allocations: 4 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.1275, allocations: 28 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1276, allocations: 83.69 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.992e-05/0.1277, allocations: 103 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.128, allocations: 259 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.128, allocations: 4 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.128, allocations: 0 / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1281, allocations: 0 / 0.4915 GB, free: 8.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007789/0.1288, allocations: 0.6258 MB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1289, allocations: 15.89 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.129, allocations: 40.38 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1293, allocations: 296.2 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1293, allocations: 4.375 kB / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.1293, allocations: 8.375 kB / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1295, allocations: 61.48 kB / 0.4925 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1295, allocations: 0 / 0.4925 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1296, allocations: 8 kB / 0.4925 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1296, allocations: 3.984 kB / 0.4925 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1297, allocations: 31.97 kB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.1302, allocations: 384.7 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1304, allocations: 46.5 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.1305, allocations: 24.94 kB / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1305, allocations: 0 / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1305, allocations: 34.55 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1305, allocations: 0 / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008312/0.1314, allocations: 283.9 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1314, allocations: 59.41 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.1322, allocations: 0.8534 MB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1322, allocations: 29.7 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1324, allocations: 212.1 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1324, allocations: 27.55 kB / 0.4945 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1325, allocations: 17.72 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1326, allocations: 362.8 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.1327, allocations: 39.91 kB / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1329, allocations: 36.03 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1331, allocations: 76.75 kB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1331, allocations: 0 / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002931/0.1334, allocations: 145.2 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1334, allocations: 4 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1334, allocations: 0 / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1334, allocations: 4 kB / 0.4951 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1336, allocations: 23.97 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1336, allocations: 0 / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.1337, allocations: 11.94 kB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1337, allocations: 0 / 0.4951 GB, free: 4.082 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.0001758/0.1339, allocations: 221.6 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.1339, allocations: 43.44 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.1343, allocations: 161.4 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1343, allocations: 4 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1343, allocations: 3.984 kB / 0.4956 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1343, allocations: 7.875 kB / 0.4956 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006141/0.1349, allocations: 494.4 kB / 0.496 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1349, allocations: 4 kB / 0.496 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.969e-05/0.135, allocations: 15.98 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.135, allocations: 0 / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.135, allocations: 7.938 kB / 0.4961 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1351, allocations: 0 / 0.4961 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1351, allocations: 0 / 0.4961 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.1354, allocations: 243.3 kB / 0.4963 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.1355, allocations: 108.6 kB / 0.4964 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1355, allocations: 7.938 kB / 0.4964 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1356, allocations: 8 kB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.1357, allocations: 7.984 kB / 0.4964 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1357, allocations: 0 / 0.4964 GB, free: 2.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00056/0.1363, allocations: 0.6472 MB / 0.497 GB, free: 2.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1363, allocations: 4 kB / 0.4971 GB, free: 2.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1365, allocations: 27.98 kB / 0.4971 GB, free: 1.984 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.0009303/0.1375, allocations: 404.9 kB / 0.4975 GB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.1378, allocations: 79.92 kB / 0.4975 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1378, allocations: 0 / 0.4975 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1379, allocations: 47.91 kB / 0.4976 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1383, allocations: 29.81 kB / 0.4976 GB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1394, allocations: 0.7915 MB / 0.4984 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.1399, allocations: 0.8182 MB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.227e-05/0.14, allocations: 15.98 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.14, allocations: 15.44 kB / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.14, allocations: 0 / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of Templates: time 0.005247/0.1453, allocations: 1.565 MB / 0.5007 GB, free: 14.21 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches