Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.6 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.001099/0.001099, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.531/1.531, 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.2248/0.2248, allocations: 43.53 MB / 314.1 MB, free: 464 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.001291/0.001291, allocations: 59.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1203, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003207/0.1236, allocations: 1.604 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000769/0.1243, allocations: 347.5 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.1245, allocations: 4 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.1251, allocations: 455.1 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.1255, allocations: 251.4 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.1259, allocations: 151.7 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1262, allocations: 163.6 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1263, allocations: 32.12 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1265, allocations: 103.8 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1267, allocations: 203.6 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1268, allocations: 11.98 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1269, allocations: 39.92 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.127, allocations: 83.69 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1271, allocations: 99 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.1274, allocations: 251 kB / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1275, allocations: 0 / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1275, allocations: 0 / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1275, allocations: 0 / 0.4916 GB, free: 8.027 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.0006377/0.1281, allocations: 0.637 MB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1282, allocations: 19.89 kB / 0.4922 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.1282, allocations: 40.38 kB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1285, allocations: 304.1 kB / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-06/0.1285, allocations: 384 / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.1285, allocations: 4.375 kB / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1287, allocations: 57.61 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1287, allocations: 0 / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1287, allocations: 0 / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1287, allocations: 4 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.1288, allocations: 27.98 kB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.1293, allocations: 400.5 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1295, allocations: 42.56 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.1295, allocations: 20.94 kB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.1296, allocations: 0 / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.1296, allocations: 34.56 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1296, allocations: 0 / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006017/0.1302, allocations: 232 kB / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1302, allocations: 51.41 kB / 0.4934 GB, free: 5.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.1311, allocations: 0.8574 MB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1311, allocations: 29.64 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1313, allocations: 232.1 kB / 0.4944 GB, free: 4.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1313, allocations: 19.72 kB / 0.4945 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1313, allocations: 17.72 kB / 0.4945 GB, free: 4.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1315, allocations: 366.7 kB / 0.4948 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.1316, allocations: 23.98 kB / 0.4949 GB, free: 4.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.1317, allocations: 19.98 kB / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1318, allocations: 57.02 kB / 0.4949 GB, free: 4.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1318, allocations: 4 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.132, allocations: 117.2 kB / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1321, allocations: 4 kB / 0.4951 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1321, allocations: 0 / 0.4951 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1321, allocations: 0 / 0.4951 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.1322, allocations: 19.92 kB / 0.4951 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1322, allocations: 0 / 0.4951 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.1322, allocations: 11.94 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1322, allocations: 0 / 0.4951 GB, free: 4.184 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.0001649/0.1324, allocations: 217.7 kB / 0.4953 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.149e-05/0.1325, allocations: 47.38 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.1328, allocations: 137 kB / 0.4955 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1328, allocations: 0 / 0.4955 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1328, allocations: 0 / 0.4955 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1328, allocations: 7.938 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.1333, allocations: 466.4 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1333, allocations: 0 / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.1334, allocations: 8 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1334, allocations: 0 / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1334, allocations: 7.938 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1334, allocations: 0 / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1334, allocations: 4.188 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1337, allocations: 223.2 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.1338, allocations: 104.6 kB / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1338, allocations: 11.92 kB / 0.4963 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.1339, allocations: 3.984 kB / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1339, allocations: 8 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.134, allocations: 3.984 kB / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005909/0.1346, allocations: 0.6511 MB / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1346, allocations: 0 / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1348, allocations: 24 kB / 0.4969 GB, free: 2.18 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.0008804/0.1357, allocations: 411.6 kB / 0.4973 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1359, allocations: 51.91 kB / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1359, allocations: 0 / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.136, allocations: 31.97 kB / 0.4974 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.1364, allocations: 29.81 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009789/0.1374, allocations: 0.7794 MB / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1378, allocations: 0.8221 MB / 0.499 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.1379, allocations: 11.98 kB / 0.499 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.1379, allocations: 11.44 kB / 0.499 GB, free: 20 kB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1379, allocations: 4 kB / 0.499 GB, free: 16 kB / 382.1 MB Notification: Performance of Templates: time 0.004495/0.1424, allocations: 1.479 MB / 0.5005 GB, free: 14.54 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches