Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 109.6 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.001189/0.001189, 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.651/1.651, 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.2437/0.2437, allocations: 43.52 MB / 314.1 MB, free: 460 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.001577/0.001577, allocations: 67.91 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.162, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.004469/0.1665, allocations: 1.55 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1684, allocations: 0.9417 MB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.1685, allocations: 4 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1688, allocations: 23.84 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.1691, allocations: 39.78 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1694, allocations: 75.84 kB / 0.4905 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1695, allocations: 51.84 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1697, allocations: 19.97 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.1698, allocations: 27.86 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.17, allocations: 27.84 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.17, allocations: 4 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1702, allocations: 47.97 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.1703, allocations: 8 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.1704, allocations: 23.86 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1707, allocations: 83.77 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1707, allocations: 4 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1707, allocations: 3.938 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1707, allocations: 0 / 0.4907 GB, free: 8.863 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.0005627/0.1713, allocations: 391.1 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1713, allocations: 11.89 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.1714, allocations: 4.938 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1716, allocations: 184.2 kB / 0.4913 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1716, allocations: 384 / 0.4913 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1717, allocations: 384 / 0.4913 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1718, allocations: 71.52 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1719, allocations: 3.938 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1719, allocations: 4 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1719, allocations: 0 / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.172, allocations: 19.98 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.1724, allocations: 268.9 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1726, allocations: 46.5 kB / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.1727, allocations: 16.94 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1727, allocations: 4 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1727, allocations: 38.56 kB / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1727, allocations: 0 / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005286/0.1733, allocations: 133.3 kB / 0.4919 GB, free: 7.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.1733, allocations: 77.11 kB / 0.492 GB, free: 7.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1735, allocations: 137.8 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1735, allocations: 29.64 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1736, allocations: 96.05 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.1737, allocations: 19.72 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1737, allocations: 17.72 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1738, allocations: 326.8 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.1739, allocations: 15.98 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.174, allocations: 41.77 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1741, allocations: 36.84 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1741, allocations: 4 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001771/0.1743, allocations: 81.5 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1743, allocations: 4 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1743, allocations: 0 / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1743, allocations: 8.031 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.1744, allocations: 12.27 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1744, allocations: 0 / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.1745, allocations: 8 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1745, allocations: 0 / 0.4928 GB, free: 6.551 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 8.874e-05/0.1746, allocations: 125.7 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.1746, allocations: 4 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.1748, allocations: 105.4 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1748, allocations: 0 / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1749, allocations: 3.984 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1749, allocations: 0 / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.1753, allocations: 342.5 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1753, allocations: 320 / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.1753, allocations: 19.92 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1753, allocations: 0 / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1753, allocations: 4 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1754, allocations: 7.938 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1754, allocations: 0 / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1756, allocations: 171.5 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.1756, allocations: 81.02 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1757, allocations: 0 / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1757, allocations: 11.94 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.1758, allocations: 7.984 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1758, allocations: 0 / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.483e-05/0.1759, allocations: 107.3 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.448e-06/0.1759, allocations: 0 / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1762, allocations: 19.94 kB / 0.4937 GB, free: 5.449 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.001002/0.1772, allocations: 458.9 kB / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.1774, allocations: 47.95 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1774, allocations: 0 / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.1775, allocations: 23.98 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1778, allocations: 19.78 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.1782, allocations: 149.4 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.1785, allocations: 0.6885 MB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.593e-05/0.1786, allocations: 15.97 kB / 0.4951 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.1787, allocations: 15.44 kB / 0.4951 GB, free: 4.031 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1787, allocations: 0 / 0.4951 GB, free: 4.031 MB / 382.1 MB Notification: Performance of Templates: time 0.00443/0.1831, allocations: 1.35 MB / 0.4964 GB, free: 2.684 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches