Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 115.8 kB / 17.08 MB, free: 6.012 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.00138/0.00138, allocations: 196.1 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.532/1.532, 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.2153/0.2153, allocations: 43.53 MB / 314.8 MB, free: 468 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: 63.91 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1272, allocations: 57.8 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003621/0.1309, allocations: 1.605 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000762/0.1317, allocations: 347.6 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.151e-05/0.1318, allocations: 0 / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.1324, allocations: 455.1 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.1329, allocations: 263.4 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.1334, allocations: 147.7 kB / 0.4913 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.1338, allocations: 167.6 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1339, allocations: 24.16 kB / 0.4915 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1341, allocations: 107.8 kB / 0.4916 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.1344, allocations: 207.6 kB / 0.4918 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.1344, allocations: 4 kB / 0.4918 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1345, allocations: 35.92 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1346, allocations: 87.67 kB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.1347, allocations: 99 kB / 0.492 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.1351, allocations: 255 kB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1351, allocations: 0 / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1351, allocations: 0 / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1352, allocations: 0 / 0.4922 GB, free: 8.023 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.0007479/0.1359, allocations: 0.6336 MB / 0.4928 GB, free: 7.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.136, allocations: 15.89 kB / 0.4928 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.136, allocations: 40.38 kB / 0.4929 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1363, allocations: 296.2 kB / 0.4932 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1363, allocations: 384 / 0.4932 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1364, allocations: 12.31 kB / 0.4932 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1365, allocations: 57.59 kB / 0.4932 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1366, allocations: 0 / 0.4932 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1366, allocations: 8 kB / 0.4932 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1366, allocations: 0 / 0.4932 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1367, allocations: 23.98 kB / 0.4933 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.1372, allocations: 404.5 kB / 0.4937 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.1375, allocations: 42.56 kB / 0.4937 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.1375, allocations: 16.94 kB / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1376, allocations: 0 / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1376, allocations: 38.56 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1376, allocations: 3.938 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006371/0.1383, allocations: 224 kB / 0.494 GB, free: 6.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1383, allocations: 51.41 kB / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.1391, allocations: 0.869 MB / 0.4949 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1392, allocations: 29.69 kB / 0.4949 GB, free: 5.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1393, allocations: 220.1 kB / 0.4951 GB, free: 4.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1394, allocations: 23.66 kB / 0.4951 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.1394, allocations: 13.72 kB / 0.4951 GB, free: 4.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1396, allocations: 362.8 kB / 0.4955 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.1397, allocations: 19.98 kB / 0.4955 GB, free: 4.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.1397, allocations: 19.98 kB / 0.4955 GB, free: 4.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1399, allocations: 61.02 kB / 0.4956 GB, free: 4.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1399, allocations: 3.938 kB / 0.4956 GB, free: 4.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002089/0.1401, allocations: 117.2 kB / 0.4957 GB, free: 4.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1401, allocations: 4 kB / 0.4957 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1401, allocations: 0 / 0.4957 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1402, allocations: 7.938 kB / 0.4957 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.1402, allocations: 11.98 kB / 0.4957 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1402, allocations: 3.984 kB / 0.4957 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.1403, allocations: 11.94 kB / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1403, allocations: 0 / 0.4957 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.0002038/0.1405, allocations: 217.7 kB / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.1406, allocations: 43.44 kB / 0.496 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.1409, allocations: 137.3 kB / 0.4961 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1409, allocations: 7.938 kB / 0.4961 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1409, allocations: 0 / 0.4961 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1409, allocations: 15.86 kB / 0.4961 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.1415, allocations: 466.5 kB / 0.4966 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1415, allocations: 0 / 0.4966 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.1416, allocations: 8 kB / 0.4966 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.1416, allocations: 0 / 0.4966 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1416, allocations: 7.938 kB / 0.4966 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1416, allocations: 4.172 kB / 0.4966 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1416, allocations: 0 / 0.4966 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1419, allocations: 222.9 kB / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.1419, allocations: 112.6 kB / 0.4969 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.142, allocations: 3.938 kB / 0.4969 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.1421, allocations: 4 kB / 0.4969 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.1421, allocations: 3.984 kB / 0.4969 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1421, allocations: 4 kB / 0.4969 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005731/0.1427, allocations: 0.6511 MB / 0.4976 GB, free: 2.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1427, allocations: 0 / 0.4976 GB, free: 2.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.143, allocations: 24 kB / 0.4976 GB, free: 2.172 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.0009104/0.1439, allocations: 408 kB / 0.498 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1441, allocations: 59.89 kB / 0.498 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1441, allocations: 0 / 0.498 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.1442, allocations: 27.98 kB / 0.4981 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.1446, allocations: 33.56 kB / 0.4981 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1457, allocations: 0.8162 MB / 0.4989 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1461, allocations: 0.8182 MB / 0.4997 GB, free: 0 / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.1462, allocations: 15.52 kB / 0.4997 GB, free: 15.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1462, allocations: 0 / 0.4997 GB, free: 15.98 MB / 398.1 MB Notification: Performance of Templates: time 0.007524/0.1537, allocations: 3.727 MB / 0.5033 GB, free: 12.25 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches