Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00099/0.0009902, allocations: 100.1 kB / 16.02 MB, free: 72 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.001236/0.001237, allocations: 186.7 kB / 16.92 MB, free: 6.688 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.049/2.049, allocations: 205.4 MB / 223.1 MB, free: 5.777 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.5289/0.5289, allocations: 43.58 MB / 315 MB, free: 8.621 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.0009132/0.0009134, allocations: 16.56 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.185, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002733/0.1878, allocations: 1.371 MB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1894, allocations: 0.7575 MB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.1895, allocations: 3.938 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.19, allocations: 71.81 kB / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.1903, allocations: 75.73 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1906, allocations: 79.84 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1908, allocations: 91.75 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.641e-05/0.1908, allocations: 7.984 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.191, allocations: 47.77 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1911, allocations: 43.84 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1911, allocations: 3.938 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.1912, allocations: 43.97 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.1913, allocations: 19.92 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.1914, allocations: 57.39 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1916, allocations: 103.9 kB / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1916, allocations: 0 / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1916, allocations: 0 / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1916, allocations: 0 / 446.2 MB, free: 9.875 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006325/0.1923, allocations: 395.1 kB / 446.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.1923, allocations: 12.03 kB / 446.6 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.1924, allocations: 16.78 kB / 446.6 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1927, allocations: 216.7 kB / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1927, allocations: 4.359 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1927, allocations: 4.125 kB / 446.9 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1929, allocations: 49.69 kB / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1929, allocations: 0 / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1929, allocations: 7.969 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.193, allocations: 4 kB / 446.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.193, allocations: 12 kB / 446.9 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.1933, allocations: 189.7 kB / 447.1 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1935, allocations: 50.56 kB / 447.2 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.1935, allocations: 24.78 kB / 447.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1936, allocations: 0 / 447.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.1938, allocations: 67.39 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/0.1938, allocations: 0 / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000296/0.1941, allocations: 97.52 kB / 447.3 MB, free: 8.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1942, allocations: 51.41 kB / 447.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.1944, allocations: 214.2 kB / 447.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1944, allocations: 29.7 kB / 447.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.1945, allocations: 100.1 kB / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.1945, allocations: 19.83 kB / 447.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.1946, allocations: 9.719 kB / 447.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1947, allocations: 326.8 kB / 448.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.1948, allocations: 12 kB / 448.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.1948, allocations: 29.7 kB / 448.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.759e-05/0.1949, allocations: 49.64 kB / 448.2 MB, free: 7.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1949, allocations: 0 / 448.2 MB, free: 7.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001421/0.1951, allocations: 85.44 kB / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1951, allocations: 8 kB / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1951, allocations: 0 / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1952, allocations: 0 / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.1952, allocations: 15.92 kB / 448.3 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.1953, allocations: 4.156 kB / 448.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.1953, allocations: 0 / 448.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1953, allocations: 7.938 kB / 448.3 MB, free: 7.57 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: 5 ($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 (7): * Single equations (assignments): 7 * 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.0001117/0.1954, allocations: 137.4 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.1955, allocations: 15.94 kB / 448.4 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.1955, allocations: 16.98 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1955, allocations: 0 / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1955, allocations: 3.984 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1956, allocations: 0 / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.1957, allocations: 193.5 kB / 448.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1957, allocations: 320 / 448.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.1958, allocations: 4 kB / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1958, allocations: 4 kB / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1958, allocations: 0 / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1958, allocations: 7.984 kB / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1958, allocations: 3.938 kB / 448.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.196, allocations: 101 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.1961, allocations: 93 kB / 448.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1961, allocations: 4 kB / 448.9 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.341e-05/0.1961, allocations: 0 / 448.9 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1962, allocations: 7.984 kB / 448.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1962, allocations: 0 / 448.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1963, allocations: 164.2 kB / 449 MB, free: 6.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1964, allocations: 0 / 449 MB, free: 6.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.1966, allocations: 20 kB / 449 MB, free: 6.715 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001009/0.1976, allocations: 427.3 kB / 449.5 MB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.1978, allocations: 39.91 kB / 449.5 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1978, allocations: 4 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.1978, allocations: 20.06 kB / 449.5 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.1981, allocations: 35.84 kB / 449.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.1986, allocations: 236.9 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1989, allocations: 0.7083 MB / 450.5 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.92e-05/0.199, allocations: 12.55 kB / 450.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.199, allocations: 11.44 kB / 450.5 MB, free: 5.219 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.199, allocations: 0 / 450.5 MB, free: 5.219 MB / 382.1 MB Notification: Performance of Templates: time 0.004451/0.2035, allocations: 1.403 MB / 451.9 MB, free: 3.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches