Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 117.6 kB / 17.09 MB, free: 5.938 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.001809/0.001809, allocations: 198.9 kB / 18.01 MB, free: 5.027 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.301/1.301, allocations: 205.1 MB / 223.9 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.2084/0.2084, allocations: 43.53 MB / 314.8 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.001832/0.001832, allocations: 69.61 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1439, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003695/0.1477, allocations: 1.609 MB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006447/0.1483, allocations: 319.6 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.1484, allocations: 0 / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.149, allocations: 459.1 kB / 0.4909 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.1494, allocations: 259.4 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1497, allocations: 103.8 kB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.15, allocations: 163.6 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1501, allocations: 20.19 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1502, allocations: 107.8 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.1504, allocations: 203.6 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1505, allocations: 4 kB / 0.4917 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/0.1506, allocations: 31.98 kB / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1507, allocations: 83.64 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.1508, allocations: 103 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.151, allocations: 247 kB / 0.4921 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1511, allocations: 4 kB / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1511, allocations: 4 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1511, allocations: 0 / 0.4921 GB, free: 8.07 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.0006909/0.1518, allocations: 0.6219 MB / 0.4927 GB, free: 7.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1518, allocations: 15.89 kB / 0.4928 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.1519, allocations: 36.47 kB / 0.4928 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1522, allocations: 300.1 kB / 0.4931 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1522, allocations: 4.375 kB / 0.4931 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1523, allocations: 384 / 0.4931 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1524, allocations: 61.61 kB / 0.4931 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1524, allocations: 0 / 0.4931 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1525, allocations: 0 / 0.4931 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1525, allocations: 4 kB / 0.4932 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.221e-05/0.1526, allocations: 19.98 kB / 0.4932 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.1531, allocations: 384.6 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1533, allocations: 50.56 kB / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.1534, allocations: 12.94 kB / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1534, allocations: 4 kB / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1534, allocations: 30.56 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.826e-06/0.1534, allocations: 3.984 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000608/0.154, allocations: 227.9 kB / 0.4939 GB, free: 6.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1541, allocations: 51.41 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.1549, allocations: 0.8613 MB / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1549, allocations: 25.7 kB / 0.4948 GB, free: 5.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1551, allocations: 224.1 kB / 0.495 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1551, allocations: 19.75 kB / 0.495 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1551, allocations: 17.66 kB / 0.495 GB, free: 4.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1553, allocations: 366.8 kB / 0.4954 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.1554, allocations: 19.98 kB / 0.4954 GB, free: 4.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.1555, allocations: 19.98 kB / 0.4954 GB, free: 4.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1556, allocations: 48.95 kB / 0.4955 GB, free: 4.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1556, allocations: 4 kB / 0.4955 GB, free: 4.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002092/0.1558, allocations: 113.1 kB / 0.4956 GB, free: 4.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1559, allocations: 8 kB / 0.4956 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1559, allocations: 0 / 0.4956 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1559, allocations: 4 kB / 0.4956 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.156, allocations: 15.92 kB / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.156, allocations: 0 / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.156, allocations: 7.938 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.156, allocations: 0 / 0.4956 GB, free: 4.293 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.0001983/0.1562, allocations: 221.7 kB / 0.4958 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.1563, allocations: 43.53 kB / 0.4958 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.1566, allocations: 129 kB / 0.496 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1566, allocations: 0 / 0.496 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1566, allocations: 4 kB / 0.496 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1566, allocations: 3.938 kB / 0.496 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.1571, allocations: 450.4 kB / 0.4964 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1571, allocations: 0 / 0.4964 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.1572, allocations: 19.98 kB / 0.4964 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1572, allocations: 0 / 0.4964 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1572, allocations: 4.125 kB / 0.4964 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1572, allocations: 4 kB / 0.4964 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1572, allocations: 0 / 0.4964 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1575, allocations: 211 kB / 0.4966 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/0.1576, allocations: 116.5 kB / 0.4967 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.1576, allocations: 7.938 kB / 0.4968 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.1577, allocations: 0 / 0.4968 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1578, allocations: 7.984 kB / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1578, allocations: 0 / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005721/0.1583, allocations: 0.6511 MB / 0.4974 GB, free: 2.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1583, allocations: 0 / 0.4974 GB, free: 2.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1586, allocations: 24 kB / 0.4974 GB, free: 2.316 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.0009853/0.1596, allocations: 404 kB / 0.4978 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1598, allocations: 51.91 kB / 0.4979 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1598, allocations: 0 / 0.4979 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.1599, allocations: 27.97 kB / 0.4979 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1603, allocations: 25.77 kB / 0.4979 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1614, allocations: 0.8085 MB / 0.4987 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.1618, allocations: 0.8221 MB / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.1619, allocations: 15.44 kB / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1619, allocations: 0 / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of Templates: time 0.006772/0.1687, allocations: 3.649 MB / 0.5031 GB, free: 12.49 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches