Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 109.3 kB / 16.41 MB, free: 6.488 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.001422/0.001422, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.794/1.794, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.244/0.244, allocations: 43.53 MB / 314.1 MB, free: 464 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.002434/0.002435, allocations: 67.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1515, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.004294/0.1558, allocations: 1.558 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.1567, allocations: 355.3 kB / 0.4898 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.1568, allocations: 8 kB / 0.4898 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.1572, allocations: 19.86 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.1575, allocations: 43.83 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1579, allocations: 83.77 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1581, allocations: 63.81 kB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1582, allocations: 20.17 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.1583, allocations: 23.92 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1584, allocations: 31.78 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1585, allocations: 4 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.1586, allocations: 47.98 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.1587, allocations: 11.98 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.1587, allocations: 23.8 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.159, allocations: 87.78 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.159, allocations: 7.984 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.159, allocations: 0 / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.159, allocations: 3.938 kB / 0.4902 GB, free: 9.402 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006891/0.1597, allocations: 383.2 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1598, allocations: 8.031 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.1599, allocations: 8.844 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1601, allocations: 192.2 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.1602, allocations: 384 / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.1602, allocations: 4.375 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1605, allocations: 71.33 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1605, allocations: 7.938 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1605, allocations: 3.938 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1605, allocations: 0 / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1606, allocations: 35.97 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.1612, allocations: 280.9 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1613, allocations: 38.56 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.1614, allocations: 24.88 kB / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.1614, allocations: 4 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1615, allocations: 34.56 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1615, allocations: 0 / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007605/0.1623, allocations: 153.3 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.1624, allocations: 77.11 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1626, allocations: 145.7 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1626, allocations: 25.7 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.1627, allocations: 92.14 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.1627, allocations: 15.73 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.1628, allocations: 21.72 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.163, allocations: 322.8 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.163, allocations: 19.98 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.1631, allocations: 41.7 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1633, allocations: 57 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1633, allocations: 4 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001942/0.1635, allocations: 89.52 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1635, allocations: 8 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1635, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1636, allocations: 4.031 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1637, allocations: 15.98 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1637, allocations: 0 / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.1638, allocations: 7.984 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1638, allocations: 7.938 kB / 0.4923 GB, free: 7 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 (6): * Single equations (assignments): 6 * 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 8.781e-05/0.1639, allocations: 117.8 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.1639, allocations: 7.906 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.1642, allocations: 109.9 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1642, allocations: 4 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1642, allocations: 0 / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1642, allocations: 0 / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.1647, allocations: 366.5 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1647, allocations: 3.938 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.1648, allocations: 15.94 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1648, allocations: 3.984 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1648, allocations: 4 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1648, allocations: 3.938 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1648, allocations: 0 / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.165, allocations: 191.6 kB / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.1651, allocations: 81.3 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1651, allocations: 0 / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.1652, allocations: 11.94 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1652, allocations: 15.97 kB / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1653, allocations: 0 / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.716e-05/0.1653, allocations: 107.8 kB / 0.4933 GB, free: 5.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1653, allocations: 3.938 kB / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1656, allocations: 27.98 kB / 0.4934 GB, free: 5.836 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 (6): * Single equations (assignments): 6 * 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.0009768/0.1666, allocations: 447.4 kB / 0.4938 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1668, allocations: 55.95 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1668, allocations: 0 / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/0.1669, allocations: 31.92 kB / 0.4939 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1673, allocations: 23.28 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.1677, allocations: 161.5 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.168, allocations: 0.6923 MB / 0.4947 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.1681, allocations: 19.97 kB / 0.4947 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1681, allocations: 15.42 kB / 0.4947 GB, free: 4.391 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1682, allocations: 0 / 0.4947 GB, free: 4.391 MB / 382.1 MB Notification: Performance of Templates: time 0.004161/0.1723, allocations: 1.463 MB / 0.4962 GB, free: 2.926 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches