Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001282, allocations: 102.8 kB / 16.27 MB, free: 5.957 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.001421/0.001421, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.721/1.721, allocations: 205.1 MB / 223.1 MB, free: 12.19 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.2445/0.2445, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.002458/0.002458, allocations: 70.69 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1704, allocations: 57.78 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.005038/0.1755, allocations: 1.597 MB / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1766, allocations: 351.5 kB / 442.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1767, allocations: 4 kB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008692/0.1777, allocations: 455.1 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.1781, allocations: 251.4 kB / 443.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.1786, allocations: 155.5 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.1789, allocations: 163.7 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.1791, allocations: 28.09 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1792, allocations: 107.8 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.1795, allocations: 211.6 kB / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.1795, allocations: 0 / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1796, allocations: 27.98 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1797, allocations: 83.69 kB / 443.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.1798, allocations: 99 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.1801, allocations: 255 kB / 444.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.679e-06/0.1801, allocations: 0 / 444.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1801, allocations: 0 / 444.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.1802, allocations: 4 kB / 444.3 MB, free: 3.133 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007369/0.1809, allocations: 0.6297 MB / 444.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.181, allocations: 15.89 kB / 444.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.181, allocations: 40.38 kB / 444.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1813, allocations: 296.2 kB / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1813, allocations: 384 / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1813, allocations: 12.38 kB / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1815, allocations: 53.61 kB / 445.3 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1815, allocations: 0 / 445.3 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1816, allocations: 4 kB / 445.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1816, allocations: 4 kB / 445.3 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.1817, allocations: 27.92 kB / 445.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.1821, allocations: 392.6 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.1824, allocations: 46.56 kB / 445.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.1824, allocations: 24.88 kB / 445.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1824, allocations: 3.984 kB / 445.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.1825, allocations: 34.5 kB / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.1825, allocations: 0 / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000604/0.1831, allocations: 239.9 kB / 446.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.1831, allocations: 51.41 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00057/0.1837, allocations: 0.8651 MB / 447 MB, free: 228 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.1837, allocations: 25.7 kB / 447 MB, free: 196 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.1839, allocations: 228.1 kB / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1839, allocations: 19.66 kB / 447.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.184, allocations: 17.72 kB / 447.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1841, allocations: 370.8 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.1842, allocations: 19.98 kB / 447.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.1843, allocations: 19.98 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1844, allocations: 48.83 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1844, allocations: 4 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002198/0.1847, allocations: 125.1 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1847, allocations: 6.969 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1847, allocations: 0 / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.1847, allocations: 0 / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.1848, allocations: 15.98 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1848, allocations: 0 / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.1849, allocations: 7.938 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1849, allocations: 0 / 447.9 MB, free: 15.3 MB / 334.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.0002329/0.1852, allocations: 221.7 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.1852, allocations: 43.44 kB / 448.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.1856, allocations: 141 kB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1856, allocations: 320 / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1856, allocations: 0 / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.1856, allocations: 7.938 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.1862, allocations: 470.5 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1862, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.1863, allocations: 8 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1863, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1863, allocations: 3.938 kB / 448.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.1863, allocations: 4 kB / 448.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1864, allocations: 7.922 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.1867, allocations: 215 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.1868, allocations: 108.6 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.1868, allocations: 7.938 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.1869, allocations: 0 / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.187, allocations: 7.938 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.187, allocations: 7.922 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008352/0.1878, allocations: 0.6472 MB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1878, allocations: 4 kB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1881, allocations: 24 kB / 449.8 MB, free: 13.29 MB / 334.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.001091/0.1892, allocations: 393 kB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.1894, allocations: 59.89 kB / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1895, allocations: 0 / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.1895, allocations: 23.98 kB / 450.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1899, allocations: 25.95 kB / 450.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.1911, allocations: 0.8029 MB / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.1916, allocations: 0.824 MB / 451.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.963e-05/0.1917, allocations: 15.97 kB / 451.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.1918, allocations: 23.42 kB / 451.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1918, allocations: 0 / 451.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of Templates: time 0.005745/0.1975, allocations: 1.469 MB / 453.4 MB, free: 9.699 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches