Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 113.7 kB / 17.05 MB, free: 6.047 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.001126/0.001126, allocations: 192.6 kB / 17.98 MB, free: 5.137 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.59/1.59, allocations: 205.1 MB / 223.9 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.2065/0.2065, allocations: 43.53 MB / 314.7 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.002335/0.002336, allocations: 68.41 kB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1491, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003799/0.1529, allocations: 1.547 MB / 0.49 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1548, allocations: 0.9494 MB / 0.4909 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.1549, allocations: 4 kB / 0.4909 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1552, allocations: 19.86 kB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1555, allocations: 43.78 kB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.1559, allocations: 95.8 kB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.156, allocations: 47.91 kB / 0.4911 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1561, allocations: 23.92 kB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.1562, allocations: 27.84 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1564, allocations: 23.92 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1564, allocations: 7.938 kB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1566, allocations: 51.95 kB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.1566, allocations: 8 kB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.1567, allocations: 15.88 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.1569, allocations: 91.77 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.157, allocations: 0 / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.157, allocations: 4 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.157, allocations: 0 / 0.4914 GB, free: 8.855 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.0005571/0.1576, allocations: 383.1 kB / 0.4917 GB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1576, allocations: 15.89 kB / 0.4918 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.1577, allocations: 0.9375 kB / 0.4918 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1579, allocations: 188.2 kB / 0.4919 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1579, allocations: 4.375 kB / 0.4919 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.158, allocations: 4.375 kB / 0.4919 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1582, allocations: 71.52 kB / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1582, allocations: 0 / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1582, allocations: 0 / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.1583, allocations: 7.938 kB / 0.492 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1584, allocations: 23.98 kB / 0.492 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.1589, allocations: 272.9 kB / 0.4923 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.1592, allocations: 50.55 kB / 0.4924 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.94e-05/0.1593, allocations: 24.8 kB / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1593, allocations: 0 / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.1593, allocations: 34.64 kB / 0.4924 GB, free: 7.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.1593, allocations: 0 / 0.4924 GB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007643/0.1601, allocations: 157.3 kB / 0.4926 GB, free: 7.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.1602, allocations: 77.11 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1604, allocations: 133.8 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1604, allocations: 25.7 kB / 0.4928 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.1605, allocations: 96.03 kB / 0.4929 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.1605, allocations: 15.75 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1606, allocations: 17.72 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1607, allocations: 326.8 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.1608, allocations: 23.92 kB / 0.4932 GB, free: 6.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.161, allocations: 33.7 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.1612, allocations: 52.81 kB / 0.4933 GB, free: 6.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1612, allocations: 0 / 0.4933 GB, free: 6.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002903/0.1615, allocations: 89.55 kB / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1615, allocations: 8 kB / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1615, allocations: 0 / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1616, allocations: 0 / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1617, allocations: 11.98 kB / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1617, allocations: 0 / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.1618, allocations: 8 kB / 0.4934 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1618, allocations: 4 kB / 0.4934 GB, free: 6.496 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.0001142/0.1619, allocations: 133.6 kB / 0.4936 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.162, allocations: 0 / 0.4936 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.1623, allocations: 105.8 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1624, allocations: 0 / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1624, allocations: 0 / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.1624, allocations: 7.984 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.163, allocations: 350.5 kB / 0.494 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.163, allocations: 4 kB / 0.494 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.1631, allocations: 15.94 kB / 0.494 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1631, allocations: 0 / 0.494 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1632, allocations: 0 / 0.494 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.1632, allocations: 3.938 kB / 0.494 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1632, allocations: 0 / 0.494 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.1635, allocations: 175.5 kB / 0.4942 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.1636, allocations: 85.02 kB / 0.4943 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1636, allocations: 7.984 kB / 0.4943 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1638, allocations: 7.938 kB / 0.4943 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1638, allocations: 4 kB / 0.4943 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1638, allocations: 3.984 kB / 0.4943 GB, free: 5.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1639, allocations: 107.8 kB / 0.4944 GB, free: 5.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.164, allocations: 0 / 0.4944 GB, free: 5.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004479/0.1644, allocations: 20 kB / 0.4944 GB, free: 5.375 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.001535/0.166, allocations: 455.5 kB / 0.4949 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.1663, allocations: 55.95 kB / 0.4949 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1663, allocations: 0 / 0.4949 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1664, allocations: 27.98 kB / 0.4949 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.167, allocations: 19.84 kB / 0.495 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.1675, allocations: 191 kB / 0.4951 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1678, allocations: 0.6885 MB / 0.4958 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.1679, allocations: 19.42 kB / 0.4958 GB, free: 3.914 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1679, allocations: 0 / 0.4958 GB, free: 3.914 MB / 382.1 MB Notification: Performance of Templates: time 0.004693/0.1726, allocations: 1.575 MB / 0.4974 GB, free: 2.344 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches