Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 107.1 kB / 16.41 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.001971/0.001971, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2285/0.2285, allocations: 43.51 MB / 314.1 MB, free: 444 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.001453/0.001453, allocations: 74.02 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1416, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002716/0.1444, allocations: 1.546 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1457, allocations: 0.9339 MB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.1458, allocations: 0 / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1461, allocations: 35.84 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1463, allocations: 47.7 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1466, allocations: 75.78 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1467, allocations: 51.84 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1469, allocations: 19.92 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.1469, allocations: 23.91 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.1471, allocations: 19.92 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1471, allocations: 11.94 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1473, allocations: 55.95 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.1473, allocations: 8 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.1474, allocations: 15.88 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.1476, allocations: 91.7 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1476, allocations: 0 / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1476, allocations: 4 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1476, allocations: 0 / 0.4908 GB, free: 8.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006021/0.1482, allocations: 383.1 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1483, allocations: 15.89 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.1483, allocations: 4.938 kB / 0.4911 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1486, allocations: 188.2 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1486, allocations: 384 / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1486, allocations: 384 / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1488, allocations: 67.47 kB / 0.4914 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1488, allocations: 0 / 0.4914 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1488, allocations: 4 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1488, allocations: 0 / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.1489, allocations: 31.95 kB / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.1494, allocations: 264.9 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1496, allocations: 46.48 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.1497, allocations: 16.86 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1497, allocations: 0 / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.1498, allocations: 42.56 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1498, allocations: 0 / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005418/0.1503, allocations: 133.4 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.1504, allocations: 85.09 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1506, allocations: 125.8 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1506, allocations: 33.7 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.1507, allocations: 100 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1507, allocations: 11.81 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1508, allocations: 17.7 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1509, allocations: 322.8 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.151, allocations: 19.92 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.1511, allocations: 41.77 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1512, allocations: 40.83 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1512, allocations: 3.938 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001664/0.1514, allocations: 85.52 kB / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1514, allocations: 4 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1514, allocations: 0 / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1515, allocations: 4 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.1515, allocations: 16.02 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1515, allocations: 0 / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.1516, allocations: 7.984 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1516, allocations: 0 / 0.4928 GB, free: 6.504 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.0001101/0.1517, allocations: 125.7 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1517, allocations: 4 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.152, allocations: 97.47 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.152, allocations: 4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.152, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.152, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.1524, allocations: 342.8 kB / 0.4933 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1524, allocations: 4 kB / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.1525, allocations: 12 kB / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1525, allocations: 0 / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1525, allocations: 3.984 kB / 0.4933 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1525, allocations: 7.938 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1525, allocations: 4 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1527, allocations: 167.5 kB / 0.4935 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.1528, allocations: 81.02 kB / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1528, allocations: 4 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.1529, allocations: 11.92 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1529, allocations: 4 kB / 0.4936 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1529, allocations: 4 kB / 0.4936 GB, free: 5.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.593e-05/0.153, allocations: 107.2 kB / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.1531, allocations: 0 / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1533, allocations: 23.94 kB / 0.4937 GB, free: 5.406 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.001065/0.1544, allocations: 449 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1546, allocations: 39.97 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1546, allocations: 4 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/0.1547, allocations: 27.86 kB / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1551, allocations: 19.84 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.1555, allocations: 157.4 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1558, allocations: 0.6924 MB / 0.4951 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.1558, allocations: 7.984 kB / 0.4951 GB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.1559, allocations: 15.42 kB / 0.4951 GB, free: 3.992 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1559, allocations: 0 / 0.4951 GB, free: 3.992 MB / 382.1 MB Notification: Performance of Templates: time 0.00413/0.16, allocations: 1.343 MB / 0.4964 GB, free: 2.648 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches