Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001519, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001495/0.001495, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.8 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2261/0.2261, allocations: 44.16 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 65.69 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1713, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003596/0.175, allocations: 1.616 MB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1767, allocations: 0.9998 MB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.1768, allocations: 0 / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1771, allocations: 19.92 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1773, allocations: 35.91 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1776, allocations: 75.34 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1778, allocations: 51.86 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1779, allocations: 19.95 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.178, allocations: 23.86 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1781, allocations: 23.92 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1782, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1783, allocations: 55.91 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.1784, allocations: 7.938 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.1784, allocations: 19.86 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1786, allocations: 87.77 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1786, allocations: 0 / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1786, allocations: 0 / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1786, allocations: 0 / 471.5 MB, free: 11.81 MB / 350.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.0005093/0.1791, allocations: 379.6 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1792, allocations: 11.97 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.1792, allocations: 12.84 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1795, allocations: 184.2 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.1795, allocations: 4.312 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.1795, allocations: 4.375 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1797, allocations: 67.52 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1797, allocations: 0 / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1797, allocations: 0 / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1797, allocations: 0 / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1798, allocations: 23.98 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.1802, allocations: 276.8 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1804, allocations: 38.56 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.1805, allocations: 16.94 kB / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1805, allocations: 7.984 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1806, allocations: 34.56 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1806, allocations: 0 / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006175/0.1812, allocations: 133.3 kB / 472.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.1813, allocations: 85.05 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1814, allocations: 133.8 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1815, allocations: 29.7 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.1815, allocations: 92.14 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.1816, allocations: 19.73 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1816, allocations: 17.72 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1818, allocations: 322.8 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.1818, allocations: 15.98 kB / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.1819, allocations: 41.64 kB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1821, allocations: 49.02 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1821, allocations: 0 / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001682/0.1823, allocations: 73.58 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1823, allocations: 8 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1823, allocations: 0 / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1823, allocations: 0 / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.1824, allocations: 20.02 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1824, allocations: 3.938 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/0.1824, allocations: 7.938 kB / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1824, allocations: 4 kB / 473.6 MB, free: 9.496 MB / 350.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 9.515e-05/0.1825, allocations: 118.3 kB / 473.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1826, allocations: 3.906 kB / 473.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.1828, allocations: 93.59 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1828, allocations: 4 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1828, allocations: 0 / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1828, allocations: 0 / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.1834, allocations: 346.5 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1834, allocations: 0 / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.1835, allocations: 11.98 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1835, allocations: 4 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1835, allocations: 0 / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1835, allocations: 8.125 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1835, allocations: 288 / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.1838, allocations: 183.4 kB / 474.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.1839, allocations: 81.09 kB / 474.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1839, allocations: 4 kB / 474.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.184, allocations: 7.938 kB / 474.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.184, allocations: 11.98 kB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.184, allocations: 0 / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.828e-05/0.1841, allocations: 105.4 kB / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1841, allocations: 0 / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1844, allocations: 31.89 kB / 474.6 MB, free: 8.398 MB / 350.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.001021/0.1854, allocations: 448.2 kB / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1856, allocations: 43.97 kB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1856, allocations: 0 / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.1857, allocations: 27.92 kB / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1861, allocations: 19.64 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.1865, allocations: 171.3 kB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1869, allocations: 0.6848 MB / 476 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.46e-05/0.1869, allocations: 11.97 kB / 476 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.187, allocations: 19.44 kB / 476 MB, free: 7.102 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.187, allocations: 0 / 476 MB, free: 7.102 MB / 350.1 MB Notification: Performance of Templates: time 0.004531/0.1915, allocations: 1.299 MB / 477.3 MB, free: 5.809 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches