Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.001601, 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.002027/0.002027, 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.838/1.838, allocations: 205.1 MB / 222.6 MB, free: 4.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.3779/0.3779, allocations: 43.5 MB / 313.5 MB, free: 8.523 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.002066/0.002066, allocations: 71.11 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1875, allocations: 57.78 MB / 439.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.004075/0.1916, allocations: 1.641 MB / 441.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000816/0.1925, allocations: 315.5 kB / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.1926, allocations: 4 kB / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1929, allocations: 15.92 kB / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.1931, allocations: 43.83 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1934, allocations: 63.94 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1936, allocations: 71.77 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1938, allocations: 20.44 kB / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.1938, allocations: 19.92 kB / 442 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.846e-05/0.1939, allocations: 31.84 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.194, allocations: 4 kB / 442 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1941, allocations: 27.98 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.1942, allocations: 23.86 kB / 442.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.1942, allocations: 23.81 kB / 442.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1944, allocations: 83.7 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1944, allocations: 0 / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1944, allocations: 4 kB / 442.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1944, allocations: 0 / 442.2 MB, free: 12.47 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005432/0.195, allocations: 375.2 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.195, allocations: 12.03 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.1951, allocations: 12.84 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1953, allocations: 192.1 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1954, allocations: 4.375 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1954, allocations: 4.375 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1956, allocations: 65.55 kB / 442.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1956, allocations: 3.938 kB / 442.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1956, allocations: 3.938 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1956, allocations: 0 / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1958, allocations: 35.97 kB / 442.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.1962, allocations: 300.7 kB / 443.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1964, allocations: 50.5 kB / 443.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.1965, allocations: 20.97 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1965, allocations: 7.984 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1966, allocations: 34.56 kB / 443.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.1966, allocations: 0 / 443.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007608/0.1974, allocations: 173.3 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1974, allocations: 51.41 kB / 443.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1976, allocations: 157.2 kB / 443.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1976, allocations: 25.7 kB / 443.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.1977, allocations: 104.1 kB / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.1977, allocations: 23.62 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.1978, allocations: 21.78 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1979, allocations: 322.8 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.198, allocations: 23.97 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.1981, allocations: 31.92 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1982, allocations: 64.83 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1982, allocations: 0 / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002031/0.1984, allocations: 89.58 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1985, allocations: 4 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1985, allocations: 0 / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1985, allocations: 7.984 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1986, allocations: 12 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1986, allocations: 4.25 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.1987, allocations: 19.86 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1987, allocations: 8 kB / 444.4 MB, free: 10.03 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 (8): * Single equations (assignments): 8 * 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 9.525e-05/0.1988, allocations: 121.8 kB / 444.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.1989, allocations: 7.906 kB / 444.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.1991, allocations: 118.7 kB / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1992, allocations: 0 / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1992, allocations: 3.938 kB / 444.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1992, allocations: 4 kB / 444.7 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.1997, allocations: 390.3 kB / 445 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1997, allocations: 3.984 kB / 445 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.1998, allocations: 12 kB / 445.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1998, allocations: 3.938 kB / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1998, allocations: 8 kB / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1998, allocations: 3.984 kB / 445.1 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1998, allocations: 7.938 kB / 445.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.2001, allocations: 195.4 kB / 445.3 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.2001, allocations: 88.94 kB / 445.4 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2002, allocations: 0 / 445.4 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.2002, allocations: 4 kB / 445.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.2003, allocations: 11.98 kB / 445.4 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2003, allocations: 8 kB / 445.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.2004, allocations: 115.2 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2004, allocations: 0 / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000246/0.2007, allocations: 20 kB / 445.5 MB, free: 8.82 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 (8): * Single equations (assignments): 8 * 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.001095/0.2018, allocations: 398 kB / 445.9 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.2021, allocations: 55.91 kB / 446 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2021, allocations: 11.88 kB / 446 MB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.2022, allocations: 39.97 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.2026, allocations: 12 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.2031, allocations: 227.6 kB / 446.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.2034, allocations: 0.7004 MB / 446.9 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.2035, allocations: 12.97 kB / 447 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.2036, allocations: 15.42 kB / 447 MB, free: 7.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2036, allocations: 0 / 447 MB, free: 7.34 MB / 382.1 MB Notification: Performance of Templates: time 0.00437/0.2079, allocations: 1.116 MB / 448.1 MB, free: 6.223 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches