Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001837, allocations: 98 kB / 15.98 MB, free: 6.352 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.002806/0.002806, allocations: 194.3 kB / 16.91 MB, free: 6.191 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.674/1.674, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.5046/0.5046, allocations: 43.49 MB / 313.6 MB, free: 8.539 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.001961/0.001961, allocations: 68.47 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1952, allocations: 57.8 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.004222/0.1995, allocations: 1.606 MB / 441.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008111/0.2003, allocations: 331.6 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.2004, allocations: 0 / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.2008, allocations: 99.8 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2011, allocations: 79.72 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.2015, allocations: 83.89 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.2017, allocations: 71.83 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.2019, allocations: 19.97 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.202, allocations: 43.83 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2022, allocations: 59.88 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.2022, allocations: 4 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.2023, allocations: 31.92 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.2024, allocations: 23.92 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.2025, allocations: 35.67 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.2027, allocations: 95.94 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.2027, allocations: 4 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.2027, allocations: 0 / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.2028, allocations: 0 / 442.6 MB, free: 12.14 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.0007405/0.2035, allocations: 410.8 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.2036, allocations: 15.89 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.2036, allocations: 8.844 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.2039, allocations: 204 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.204, allocations: 4.312 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.204, allocations: 4.375 kB / 443.2 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2042, allocations: 61.8 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.2042, allocations: 0 / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2042, allocations: 7.938 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2043, allocations: 0 / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.2044, allocations: 19.98 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.2048, allocations: 288.9 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2051, allocations: 54.48 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.2052, allocations: 16.86 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.2052, allocations: 0 / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2052, allocations: 30.56 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2052, allocations: 0 / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006128/0.2058, allocations: 161.3 kB / 443.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.2059, allocations: 51.41 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.2062, allocations: 242.6 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2062, allocations: 25.7 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.2063, allocations: 108.1 kB / 444.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.2063, allocations: 15.8 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.2064, allocations: 17.72 kB / 444.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2065, allocations: 334.8 kB / 444.6 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.2066, allocations: 19.98 kB / 444.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.2067, allocations: 19.98 kB / 444.7 MB, free: 9.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.2068, allocations: 52.77 kB / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2068, allocations: 3.938 kB / 444.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000182/0.207, allocations: 93.56 kB / 444.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2071, allocations: 4 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2071, allocations: 0 / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2071, allocations: 0 / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.2072, allocations: 11.98 kB / 444.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2072, allocations: 4 kB / 444.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.2073, allocations: 0 / 444.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2073, allocations: 8 kB / 444.8 MB, free: 9.664 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 0.0001095/0.2074, allocations: 133.7 kB / 445 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.2074, allocations: 15.81 kB / 445 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.2077, allocations: 107.2 kB / 445.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2077, allocations: 0 / 445.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2077, allocations: 0 / 445.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2077, allocations: 3.984 kB / 445.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.2081, allocations: 382.3 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2082, allocations: 0 / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.2082, allocations: 12 kB / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2082, allocations: 0 / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2082, allocations: 0 / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2082, allocations: 7.922 kB / 445.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2082, allocations: 0 / 445.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.2085, allocations: 187.3 kB / 445.7 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.2085, allocations: 89 kB / 445.7 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2086, allocations: 3.938 kB / 445.8 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.2086, allocations: 7.938 kB / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2087, allocations: 7.984 kB / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2087, allocations: 4 kB / 445.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.2088, allocations: 180.3 kB / 445.9 MB, free: 8.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2088, allocations: 0 / 445.9 MB, free: 8.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.2091, allocations: 23.98 kB / 446 MB, free: 8.406 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.0009191/0.21, allocations: 398.5 kB / 446.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2102, allocations: 59.95 kB / 446.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2102, allocations: 3.938 kB / 446.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.2103, allocations: 27.92 kB / 446.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2107, allocations: 27.78 kB / 446.5 MB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.2111, allocations: 282.2 kB / 446.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.2114, allocations: 0.708 MB / 447.5 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.748e-05/0.2115, allocations: 11.98 kB / 447.5 MB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.2115, allocations: 15.44 kB / 447.5 MB, free: 6.871 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2115, allocations: 0 / 447.5 MB, free: 6.871 MB / 382.1 MB Notification: Performance of Templates: time 0.003621/0.2152, allocations: 1.113 MB / 448.6 MB, free: 5.758 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches