Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 108.7 kB / 16.41 MB, free: 6.449 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.001079/0.00108, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.554/1.554, allocations: 205.1 MB / 223.2 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.2324/0.2324, allocations: 43.53 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.001341/0.001341, allocations: 73.45 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003132/0.1327, allocations: 1.57 MB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007435/0.1334, allocations: 323.6 kB / 0.4897 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.1335, allocations: 7.938 kB / 0.4897 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.1339, allocations: 95.73 kB / 0.4898 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1341, allocations: 79.72 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1344, allocations: 91.8 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1346, allocations: 79.83 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1347, allocations: 28.14 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.1348, allocations: 35.84 kB / 0.4901 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1349, allocations: 59.81 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1349, allocations: 4 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.135, allocations: 28 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.135, allocations: 19.92 kB / 0.4902 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.1351, allocations: 43.72 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1353, allocations: 99.64 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1353, allocations: 7.938 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1353, allocations: 0 / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1353, allocations: 0 / 0.4904 GB, free: 9.188 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005404/0.1359, allocations: 414.9 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1359, allocations: 15.83 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.136, allocations: 20.75 kB / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1362, allocations: 196.1 kB / 0.491 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.1362, allocations: 384 / 0.491 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1362, allocations: 4.375 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.1364, allocations: 87.25 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1364, allocations: 0 / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1365, allocations: 0 / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1365, allocations: 0 / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1366, allocations: 43.97 kB / 0.4911 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.1371, allocations: 396.9 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.1374, allocations: 85.05 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.1375, allocations: 37.89 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1375, allocations: 11.97 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1375, allocations: 30.56 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1375, allocations: 0 / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007263/0.1383, allocations: 244.6 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1383, allocations: 77.11 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1386, allocations: 239.5 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1386, allocations: 29.64 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.1387, allocations: 112.1 kB / 0.4923 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.1387, allocations: 27.56 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.1388, allocations: 29.7 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1389, allocations: 326.8 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.139, allocations: 27.98 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.1391, allocations: 49.62 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1393, allocations: 89.8 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1393, allocations: 4 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002427/0.1395, allocations: 125.4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1395, allocations: 4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1396, allocations: 3.984 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1396, allocations: 4 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.1397, allocations: 19.98 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1397, allocations: 7.922 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.1397, allocations: 8 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1398, allocations: 7.938 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001199/0.1399, allocations: 141.7 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.1399, allocations: 15.81 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.1402, allocations: 142.6 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1403, allocations: 4 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1403, allocations: 3.938 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1403, allocations: 3.984 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.1409, allocations: 0.4989 MB / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1409, allocations: 0 / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.141, allocations: 27.92 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.141, allocations: 0 / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.141, allocations: 0 / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.141, allocations: 11.92 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.141, allocations: 0 / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1413, allocations: 303.6 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.1414, allocations: 85.56 kB / 0.4942 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1414, allocations: 8.078 kB / 0.4942 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.1415, allocations: 11.94 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.1416, allocations: 7.984 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.1416, allocations: 8 kB / 0.4943 GB, free: 4.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1417, allocations: 167.2 kB / 0.4944 GB, free: 4.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1417, allocations: 0 / 0.4944 GB, free: 4.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.142, allocations: 23.98 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008768/0.1429, allocations: 407.3 kB / 0.4948 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1432, allocations: 83.88 kB / 0.4949 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1432, allocations: 4 kB / 0.4949 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/0.1433, allocations: 47.91 kB / 0.495 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1437, allocations: 31.72 kB / 0.495 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.1442, allocations: 296 kB / 0.4953 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1445, allocations: 0.7197 MB / 0.496 GB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.292e-05/0.1446, allocations: 16.42 kB / 0.496 GB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.1446, allocations: 19.42 kB / 0.496 GB, free: 3.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1446, allocations: 0 / 0.496 GB, free: 3.008 MB / 382.1 MB Notification: Performance of Templates: time 0.003558/0.1482, allocations: 1.311 MB / 0.4973 GB, free: 1.699 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches