Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 96.14 kB / 15.87 MB, free: 16 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.001119/0.001119, allocations: 202.8 kB / 16.79 MB, free: 6.84 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.576/1.576, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.3907/0.3907, allocations: 43.5 MB / 313.5 MB, free: 8.512 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.001898/0.001898, allocations: 67.91 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1828, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004545/0.1874, allocations: 1.76 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1891, allocations: 0.7885 MB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.1892, allocations: 4 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.1897, allocations: 27.91 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.19, allocations: 51.77 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1903, allocations: 75.91 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.1905, allocations: 91.64 kB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1907, allocations: 16.2 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1908, allocations: 39.8 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.1909, allocations: 27.84 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.1909, allocations: 4 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.191, allocations: 35.98 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.465e-05/0.1911, allocations: 23.91 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.1912, allocations: 39.67 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1914, allocations: 107.9 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1914, allocations: 0 / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1914, allocations: 0 / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1915, allocations: 0 / 442.9 MB, free: 11.74 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008469/0.1923, allocations: 407 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.1924, allocations: 8.031 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.1925, allocations: 16.75 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1928, allocations: 204 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1928, allocations: 4.375 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.1928, allocations: 8.031 kB / 443.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1931, allocations: 57.61 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.1931, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1931, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1931, allocations: 8 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/0.1932, allocations: 15.98 kB / 443.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.1937, allocations: 284.9 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.194, allocations: 66.59 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.194, allocations: 20.86 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1941, allocations: 4 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.1943, allocations: 63.39 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1943, allocations: 0 / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006998/0.195, allocations: 173.2 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1951, allocations: 55.41 kB / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1953, allocations: 174.2 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1953, allocations: 29.7 kB / 444.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.1954, allocations: 96.14 kB / 444.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1955, allocations: 27.64 kB / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.1955, allocations: 21.72 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.1957, allocations: 326.8 kB / 444.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.1958, allocations: 23.92 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.799e-05/0.1959, allocations: 41.64 kB / 445 MB, free: 9.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.196, allocations: 53.72 kB / 445 MB, free: 9.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.196, allocations: 3.984 kB / 445.1 MB, free: 9.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001816/0.1962, allocations: 105.5 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1962, allocations: 4 kB / 445.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1963, allocations: 0 / 445.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1963, allocations: 0.5625 kB / 445.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.1964, allocations: 19.98 kB / 445.2 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1964, allocations: 3.969 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1964, allocations: 11.94 kB / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1965, allocations: 8 kB / 445.2 MB, free: 9.203 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 (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.0001154/0.1966, allocations: 129.7 kB / 445.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.1966, allocations: 11.81 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.1967, allocations: 16.72 kB / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1967, allocations: 0 / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1967, allocations: 0 / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1967, allocations: 3.938 kB / 445.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.1972, allocations: 391.3 kB / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1972, allocations: 0 / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.1972, allocations: 11.98 kB / 445.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1972, allocations: 4 kB / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1972, allocations: 3.938 kB / 445.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1973, allocations: 0 / 445.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1973, allocations: 0 / 445.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1975, allocations: 204.3 kB / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.1976, allocations: 85.02 kB / 446 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1976, allocations: 11.92 kB / 446.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.1977, allocations: 4 kB / 446.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.1978, allocations: 4 kB / 446.1 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1978, allocations: 7.984 kB / 446.1 MB, free: 8.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1979, allocations: 132.1 kB / 446.2 MB, free: 8.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1979, allocations: 4 kB / 446.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1982, allocations: 20 kB / 446.2 MB, free: 8.078 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001186/0.1994, allocations: 478.3 kB / 446.7 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1996, allocations: 59.86 kB / 446.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1996, allocations: 0 / 446.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.412e-05/0.1997, allocations: 35.92 kB / 446.8 MB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2001, allocations: 23.98 kB / 446.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.2006, allocations: 240.7 kB / 447 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.201, allocations: 0.7004 MB / 447.7 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.349e-05/0.201, allocations: 16.88 kB / 447.8 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.2011, allocations: 23.42 kB / 447.8 MB, free: 6.496 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2011, allocations: 0 / 447.8 MB, free: 6.496 MB / 382.1 MB Notification: Performance of Templates: time 0.005418/0.2065, allocations: 1.627 MB / 449.4 MB, free: 4.871 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches