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.001136/0.001136, allocations: 102.6 kB / 16.27 MB, free: 6.41 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.001183/0.001182, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.815/1.815, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2427/0.2427, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001709/0.001709, allocations: 67.64 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1646, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.004392/0.169, allocations: 1.559 MB / 442.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1701, allocations: 347.4 kB / 442.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1702, allocations: 0 / 442.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.1707, allocations: 27.86 kB / 442.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.171, allocations: 43.77 kB / 442.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.1715, allocations: 91.44 kB / 442.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1717, allocations: 51.91 kB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1719, allocations: 20.11 kB / 442.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.172, allocations: 23.81 kB / 442.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.1721, allocations: 27.91 kB / 442.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.1722, allocations: 4 kB / 442.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.1724, allocations: 47.97 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.1725, allocations: 15.92 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.1725, allocations: 27.86 kB / 442.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1728, allocations: 87.77 kB / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1728, allocations: 7.938 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1729, allocations: 0 / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1729, allocations: 0 / 442.9 MB, free: 4.512 MB / 318.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.0006379/0.1735, allocations: 387.1 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1736, allocations: 8.031 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.1737, allocations: 8.844 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1739, allocations: 184.3 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1739, allocations: 4.375 kB / 443.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1739, allocations: 4.375 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1741, allocations: 71.27 kB / 443.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1742, allocations: 4 kB / 443.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1742, allocations: 0 / 443.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1742, allocations: 0 / 443.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1743, allocations: 27.98 kB / 443.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.1747, allocations: 288.9 kB / 443.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.239e-05/0.1748, allocations: 42.56 kB / 443.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.1749, allocations: 24.81 kB / 443.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1749, allocations: 4 kB / 443.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1749, allocations: 34.56 kB / 444 MB, free: 3.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.175, allocations: 4 kB / 444 MB, free: 3.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005976/0.1756, allocations: 157.2 kB / 444.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1756, allocations: 77.11 kB / 444.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1757, allocations: 133.8 kB / 444.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1757, allocations: 25.7 kB / 444.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.1758, allocations: 92.12 kB / 444.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.1758, allocations: 31.64 kB / 444.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.1759, allocations: 17.7 kB / 444.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.1759, allocations: 326.7 kB / 444.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/0.176, allocations: 19.98 kB / 444.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.1761, allocations: 41.69 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1762, allocations: 56.86 kB / 444.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1762, allocations: 0 / 444.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001743/0.1764, allocations: 89.59 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1764, allocations: 5.25 kB / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1765, allocations: 4 kB / 445 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1765, allocations: 0 / 445 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.1766, allocations: 11.98 kB / 445 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1766, allocations: 4 kB / 445 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.1766, allocations: 8 kB / 445 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1767, allocations: 7.938 kB / 445 MB, free: 2.109 MB / 318.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 6.45e-05/0.1767, allocations: 121.8 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.1768, allocations: 7.906 kB / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.177, allocations: 102.5 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.177, allocations: 64 / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.177, allocations: 8 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.177, allocations: 7.984 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.1774, allocations: 358.5 kB / 445.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1774, allocations: 0 / 445.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.1775, allocations: 15.92 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1775, allocations: 0 / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1775, allocations: 4 kB / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1775, allocations: 3.938 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1775, allocations: 0 / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1777, allocations: 187.4 kB / 445.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.1777, allocations: 85.02 kB / 445.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1778, allocations: 3.984 kB / 445.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.457e-05/0.1778, allocations: 11.94 kB / 445.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.1779, allocations: 4 kB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1779, allocations: 7.922 kB / 446 MB, free: 1.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.429e-05/0.178, allocations: 107.3 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.178, allocations: 0 / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1782, allocations: 27.94 kB / 446.1 MB, free: 0.957 MB / 318.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.0009046/0.1791, allocations: 444.4 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1793, allocations: 59.95 kB / 446.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1794, allocations: 0 / 446.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.1794, allocations: 35.91 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1798, allocations: 15.94 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.1801, allocations: 173.6 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1804, allocations: 0.6923 MB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.721e-05/0.1804, allocations: 20.22 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.1805, allocations: 15.44 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1805, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Templates: time 0.004175/0.1847, allocations: 1.46 MB / 449 MB, free: 14.1 MB / 334.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