Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001401/0.001401, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.697/1.697, allocations: 205.1 MB / 223.2 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.2199/0.2199, allocations: 43.53 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.001369/0.001369, allocations: 71.88 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003752/0.1291, allocations: 1.611 MB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1308, allocations: 0.9652 MB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.1309, allocations: 3.938 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1313, allocations: 27.84 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1316, allocations: 43.78 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.1321, allocations: 143.7 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1323, allocations: 79.75 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1324, allocations: 15.98 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.1325, allocations: 23.92 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1326, allocations: 35.83 kB / 0.4908 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1327, allocations: 4 kB / 0.4908 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1328, allocations: 51.98 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.1329, allocations: 23.91 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.1329, allocations: 27.75 kB / 0.4909 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1332, allocations: 99.62 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1332, allocations: 0 / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1332, allocations: 0 / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1332, allocations: 0 / 0.491 GB, free: 8.648 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.0005449/0.1338, allocations: 387 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1338, allocations: 11.89 kB / 0.4913 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.1339, allocations: 12.88 kB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.1341, allocations: 192.2 kB / 0.4915 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1341, allocations: 8.312 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1341, allocations: 384 / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1343, allocations: 83.5 kB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1344, allocations: 0 / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1344, allocations: 0 / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.1344, allocations: 4 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1345, allocations: 35.97 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.135, allocations: 312.7 kB / 0.492 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1352, allocations: 42.66 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/0.1352, allocations: 28.83 kB / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1353, allocations: 11.92 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1353, allocations: 34.56 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1353, allocations: 0 / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007558/0.1361, allocations: 221.3 kB / 0.4923 GB, free: 7.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.1361, allocations: 81.11 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1363, allocations: 133.8 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1363, allocations: 33.7 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.1364, allocations: 88.09 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.1364, allocations: 23.84 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1364, allocations: 21.72 kB / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1366, allocations: 322.8 kB / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1367, allocations: 43.91 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1368, allocations: 49.69 kB / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1371, allocations: 92.84 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1371, allocations: 4.031 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002836/0.1374, allocations: 117.6 kB / 0.4933 GB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1374, allocations: 8 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1374, allocations: 0 / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1374, allocations: 0 / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1375, allocations: 23.92 kB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1376, allocations: 3.984 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.1376, allocations: 15.88 kB / 0.4933 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1377, allocations: 4 kB / 0.4933 GB, free: 6.004 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 8.91e-05/0.1377, allocations: 121.8 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.1378, allocations: 7.953 kB / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.1381, allocations: 138 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1381, allocations: 3.938 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1382, allocations: 4 kB / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1382, allocations: 7.875 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.1387, allocations: 402.5 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1388, allocations: 0 / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.314e-05/0.1388, allocations: 19.98 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1389, allocations: 0 / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.1389, allocations: 11.94 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1389, allocations: 0 / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1389, allocations: 0 / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.1394, allocations: 223.8 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.1394, allocations: 85.06 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1395, allocations: 7.922 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.1395, allocations: 8 kB / 0.4943 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.1396, allocations: 11.98 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1396, allocations: 4 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1398, allocations: 103.2 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1398, allocations: 0 / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000304/0.1401, allocations: 31.92 kB / 0.4944 GB, free: 4.727 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.001231/0.1413, allocations: 448.8 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.1417, allocations: 95.84 kB / 0.495 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1418, allocations: 0 / 0.495 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.1419, allocations: 51.97 kB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1423, allocations: 15.84 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.1429, allocations: 210 kB / 0.4952 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.1435, allocations: 0.7002 MB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1436, allocations: 23.97 kB / 0.4959 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.1437, allocations: 15.44 kB / 0.496 GB, free: 3.164 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1437, allocations: 0 / 0.496 GB, free: 3.164 MB / 382.1 MB Notification: Performance of Templates: time 0.00517/0.1489, allocations: 1.537 MB / 0.4975 GB, free: 1.629 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches