Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,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.CombiTable1D.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.CombiTable1D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008282/0.0008278, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002538/0.002538, allocations: 184.1 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5447/0.5447, allocations: 43.57 MB / 315 MB, free: 8.711 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.0005997/0.0005998, allocations: 20 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1944, allocations: 58.86 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.002253/0.1967, allocations: 1.275 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006952/0.1974, allocations: 315.7 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.1975, allocations: 3.938 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.1979, allocations: 115.8 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.198, allocations: 63.84 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1983, allocations: 87.84 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1985, allocations: 63.88 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1986, allocations: 23.97 kB / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/0.1987, allocations: 27.86 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1988, allocations: 63.81 kB / 445.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1988, allocations: 0 / 445.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.1989, allocations: 31.97 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.199, allocations: 23.92 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.1991, allocations: 53.39 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1992, allocations: 95.91 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1993, allocations: 4 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1993, allocations: 4 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1993, allocations: 4 kB / 445.7 MB, free: 10.41 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.0005144/0.1998, allocations: 391 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.1999, allocations: 8.031 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.1999, allocations: 12.75 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.2001, allocations: 204 kB / 446.3 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.2001, allocations: 4.375 kB / 446.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.2002, allocations: 4.375 kB / 446.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2003, allocations: 57.8 kB / 446.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2004, allocations: 3.984 kB / 446.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2004, allocations: 4 kB / 446.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2004, allocations: 3.938 kB / 446.4 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.2005, allocations: 23.98 kB / 446.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.2009, allocations: 304.7 kB / 446.7 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.2012, allocations: 46.56 kB / 446.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.2012, allocations: 16.94 kB / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.2012, allocations: 3.984 kB / 446.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.2013, allocations: 34.56 kB / 446.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2013, allocations: 4 kB / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006204/0.2019, allocations: 173.2 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.202, allocations: 51.41 kB / 447 MB, free: 8.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.2022, allocations: 238.7 kB / 447.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2022, allocations: 25.7 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.2023, allocations: 116 kB / 447.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.2023, allocations: 11.81 kB / 447.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.2024, allocations: 17.7 kB / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2025, allocations: 326.8 kB / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.2026, allocations: 31.92 kB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.2027, allocations: 23.98 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.2028, allocations: 60.83 kB / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2028, allocations: 0 / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.203, allocations: 97.56 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.203, allocations: 4 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2031, allocations: 0 / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2031, allocations: 0 / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.2031, allocations: 19.98 kB / 448 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2032, allocations: 3.938 kB / 448 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.2032, allocations: 8 kB / 448 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2032, allocations: 0 / 448 MB, free: 7.898 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 9.456e-05/0.2033, allocations: 133.8 kB / 448.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.2034, allocations: 16.06 kB / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.2036, allocations: 118.6 kB / 448.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2036, allocations: 0 / 448.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2036, allocations: 0 / 448.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2037, allocations: 3.938 kB / 448.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.2041, allocations: 378.4 kB / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2041, allocations: 3.938 kB / 448.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.2042, allocations: 15.98 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.2042, allocations: 0 / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2042, allocations: 0 / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2042, allocations: 3.938 kB / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2042, allocations: 4 kB / 448.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.2044, allocations: 203.3 kB / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.2045, allocations: 81.02 kB / 448.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2045, allocations: 7.984 kB / 448.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.2046, allocations: 7.938 kB / 448.9 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.2047, allocations: 11.98 kB / 448.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2047, allocations: 4 kB / 448.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.2048, allocations: 180.3 kB / 449.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2048, allocations: 0 / 449.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.2051, allocations: 23.98 kB / 449.1 MB, free: 6.613 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.000969/0.206, allocations: 397.2 kB / 449.5 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.2063, allocations: 59.95 kB / 449.6 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.2063, allocations: 0 / 449.6 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.2064, allocations: 39.86 kB / 449.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.2067, allocations: 19.92 kB / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.2073, allocations: 277.5 kB / 449.9 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.2077, allocations: 0.7082 MB / 450.6 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.2077, allocations: 15.98 kB / 450.6 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.2078, allocations: 11.44 kB / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2078, allocations: 0 / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of Templates: time 0.004044/0.2118, allocations: 1.074 MB / 451.7 MB, free: 4.008 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches