Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001481/0.001481, allocations: 195 kB / 17.98 MB, free: 5.016 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.831/1.831, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2665/0.2665, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001686/0.001686, allocations: 71.3 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1809, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00397/0.1849, allocations: 1.778 MB / 443.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.187, allocations: 1.484 MB / 445.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1872, allocations: 0 / 445.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.1876, allocations: 51.7 kB / 445.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.1879, allocations: 91.53 kB / 445.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1883, allocations: 143.3 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1885, allocations: 175.5 kB / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.856e-05/0.1886, allocations: 13.55 kB / 445.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1887, allocations: 83.56 kB / 445.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.189, allocations: 67.69 kB / 445.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.189, allocations: 8 kB / 445.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1891, allocations: 63.97 kB / 445.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.657e-05/0.1892, allocations: 31.86 kB / 446 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.1893, allocations: 63.58 kB / 446 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1896, allocations: 171.5 kB / 446.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1896, allocations: 0 / 446.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1896, allocations: 0 / 446.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1896, allocations: 0 / 446.2 MB, free: 1.922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007064/0.1903, allocations: 474.5 kB / 446.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1904, allocations: 11.89 kB / 446.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.1905, allocations: 16.75 kB / 446.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.1909, allocations: 247.6 kB / 446.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.191, allocations: 8.375 kB / 446.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.191, allocations: 8.125 kB / 446.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1913, allocations: 101 kB / 447 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1913, allocations: 0 / 447 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1913, allocations: 0 / 447 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1913, allocations: 4 kB / 447 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1914, allocations: 27.98 kB / 447.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.1918, allocations: 214.5 kB / 447.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.1921, allocations: 113.1 kB / 447.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/0.1922, allocations: 41.64 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.1922, allocations: 4 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.1925, allocations: 108.9 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.1925, allocations: 0 / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004811/0.193, allocations: 165.4 kB / 447.7 MB, free: 208 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.1931, allocations: 132.5 kB / 447.8 MB, free: 44 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.1934, allocations: 215.8 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.1935, allocations: 29.7 kB / 448.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1936, allocations: 116.1 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.1937, allocations: 27.64 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.1937, allocations: 29.7 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.194, allocations: 322.8 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.1941, allocations: 31.98 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1942, allocations: 77.06 kB / 448.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.1945, allocations: 91.86 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1945, allocations: 0 / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003032/0.1948, allocations: 141.3 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.1948, allocations: 13.34 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1949, allocations: 0 / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.1949, allocations: 0 / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.195, allocations: 23.98 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.195, allocations: 7.922 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.1951, allocations: 7.906 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1951, allocations: 4 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002089/0.1954, allocations: 133.8 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.1954, allocations: 19.81 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.006e-05/0.1955, allocations: 24.98 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1955, allocations: 0 / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1955, allocations: 0 / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.1955, allocations: 3.984 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.1958, allocations: 217.5 kB / 449.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1958, allocations: 0 / 449.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.1959, allocations: 11.98 kB / 449.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1959, allocations: 0 / 449.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1959, allocations: 7.938 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1959, allocations: 7.875 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1959, allocations: 4 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.1963, allocations: 177.8 kB / 449.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.1964, allocations: 92.91 kB / 449.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1965, allocations: 0 / 449.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.1966, allocations: 8 kB / 449.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.1966, allocations: 7.984 kB / 449.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1967, allocations: 8 kB / 449.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.1969, allocations: 165.5 kB / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1969, allocations: 0 / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1972, allocations: 32 kB / 449.8 MB, free: 13.85 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001391/0.1986, allocations: 440.7 kB / 450.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.1989, allocations: 87.84 kB / 450.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.1989, allocations: 4 kB / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.199, allocations: 35.92 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.1995, allocations: 70.44 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007792/0.2002, allocations: 260.3 kB / 450.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.2007, allocations: 0.7163 MB / 451.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.065e-05/0.2008, allocations: 29.47 kB / 451.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.2009, allocations: 35.36 kB / 451.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2009, allocations: 4 kB / 451.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of Templates: time 0.006796/0.2077, allocations: 2.627 MB / 454.1 MB, free: 9.605 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches