Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009387/0.0009389, 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.0009325/0.0009329, allocations: 181.4 kB / 16.92 MB, free: 6.922 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.032/2.032, allocations: 205.4 MB / 223.1 MB, free: 5.77 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.4898/0.4898, allocations: 43.58 MB / 315 MB, free: 8.68 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.0005755/0.0005755, allocations: 16 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1856, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.003286/0.1889, allocations: 1.291 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.19, allocations: 315.6 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.19, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.1905, allocations: 31.89 kB / 445.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1907, allocations: 43.84 kB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.191, allocations: 79.89 kB / 445.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1912, allocations: 67.77 kB / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1914, allocations: 24.44 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.222e-05/0.1915, allocations: 27.92 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1916, allocations: 23.86 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1917, allocations: 4 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-05/0.1918, allocations: 35.91 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.1919, allocations: 15.94 kB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.1919, allocations: 49.5 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1922, allocations: 83.7 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.1922, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1922, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1922, allocations: 3.938 kB / 445.5 MB, free: 10.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000677/0.1929, allocations: 379.2 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.1929, allocations: 8.031 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.193, allocations: 12.78 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1933, allocations: 199.6 kB / 446.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1933, allocations: 384 / 446.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.1933, allocations: 8.375 kB / 446.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.1935, allocations: 83.31 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1936, allocations: 3.906 kB / 446.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1936, allocations: 4 kB / 446.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1936, allocations: 4 kB / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1937, allocations: 39.91 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.1943, allocations: 389.1 kB / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.1946, allocations: 89.16 kB / 446.7 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.1947, allocations: 37.8 kB / 446.8 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1948, allocations: 0 / 446.8 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.1948, allocations: 34.56 kB / 446.8 MB, free: 9.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.557e-06/0.1948, allocations: 4 kB / 446.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008281/0.1957, allocations: 249.5 kB / 447 MB, free: 8.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.1957, allocations: 77.11 kB / 447.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1959, allocations: 153.8 kB / 447.3 MB, free: 8.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.196, allocations: 29.7 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.1961, allocations: 100 kB / 447.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.1961, allocations: 35.48 kB / 447.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.1961, allocations: 17.72 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1963, allocations: 322.8 kB / 447.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.1964, allocations: 31.97 kB / 447.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.1965, allocations: 57.69 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1967, allocations: 85.69 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1967, allocations: 0 / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002439/0.1969, allocations: 137.7 kB / 448.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.197, allocations: 4 kB / 448.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.197, allocations: 7.938 kB / 448.1 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.197, allocations: 0 / 448.1 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.1971, allocations: 19.98 kB / 448.1 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1971, allocations: 11.88 kB / 448.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1972, allocations: 4 kB / 448.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1972, allocations: 8 kB / 448.1 MB, free: 7.738 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001142/0.1973, allocations: 133.8 kB / 448.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1974, allocations: 7.906 kB / 448.3 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.1977, allocations: 158 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1977, allocations: 4 kB / 448.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1977, allocations: 3.938 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1977, allocations: 0 / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006551/0.1984, allocations: 0.5025 MB / 448.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1984, allocations: 3.938 kB / 448.9 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.1985, allocations: 27.92 kB / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1985, allocations: 0 / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1985, allocations: 4 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1985, allocations: 0 / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1986, allocations: 0 / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.1989, allocations: 307.5 kB / 449.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.199, allocations: 88.95 kB / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.199, allocations: 8 kB / 449.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1991, allocations: 7.984 kB / 449.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.1992, allocations: 8 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1992, allocations: 4 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.969e-05/0.1993, allocations: 119.2 kB / 449.5 MB, free: 6.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1993, allocations: 0 / 449.5 MB, free: 6.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1996, allocations: 24 kB / 449.5 MB, free: 6.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001032/0.2006, allocations: 419.1 kB / 449.9 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.2009, allocations: 95.88 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2009, allocations: 4 kB / 450 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.201, allocations: 43.97 kB / 450.1 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.2015, allocations: 15.94 kB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.2021, allocations: 262.8 kB / 450.3 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2025, allocations: 0.7083 MB / 451 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.255e-05/0.2025, allocations: 20.8 kB / 451.1 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.2026, allocations: 15.42 kB / 451.1 MB, free: 4.633 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2026, allocations: 0 / 451.1 MB, free: 4.633 MB / 382.1 MB Notification: Performance of Templates: time 0.004371/0.207, allocations: 1.198 MB / 452.3 MB, free: 3.434 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches