Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000949/0.000949, allocations: 180.2 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 99.66 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.181/0.181, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.664e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.4812, allocations: 87.97 MB / 0.5876 GB, free: 1.359 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.4815, allocations: 67.95 kB / 0.5877 GB, free: 1.293 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.4927, allocations: 4.492 MB / 0.5921 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4927, allocations: 0 / 0.5921 GB, free: 12.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.4927, allocations: 8 kB / 0.5921 GB, free: 12.81 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004235/0.4932, allocations: 406.2 kB / 0.5925 GB, free: 12.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4932, allocations: 8.031 kB / 0.5925 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.4933, allocations: 15.75 kB / 0.5925 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.4935, allocations: 218.5 kB / 0.5927 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.4936, allocations: 11.89 kB / 0.5927 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4936, allocations: 4 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.4937, allocations: 45.69 kB / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4937, allocations: 3.938 kB / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4938, allocations: 4 kB / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4938, allocations: 0 / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.593e-05/0.4938, allocations: 20 kB / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.4943, allocations: 308.7 kB / 0.5931 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.435e-05/0.4944, allocations: 42.5 kB / 0.5931 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.4944, allocations: 12.86 kB / 0.5931 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.4944, allocations: 4.156 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.4944, allocations: 38.56 kB / 0.5932 GB, free: 11.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.4945, allocations: 0 / 0.5932 GB, free: 11.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005386/0.495, allocations: 157 kB / 0.5933 GB, free: 11.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.495, allocations: 55.39 kB / 0.5934 GB, free: 11.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.4953, allocations: 241.5 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.4954, allocations: 25.7 kB / 0.5936 GB, free: 11.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.4954, allocations: 120.1 kB / 0.5937 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.4955, allocations: 27.56 kB / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.4955, allocations: 0 / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4956, allocations: 326.8 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.4957, allocations: 20 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.4957, allocations: 12.08 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.4957, allocations: 20.14 kB / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4957, allocations: 0 / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001429/0.4959, allocations: 93.42 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4959, allocations: 4 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4959, allocations: 4 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.496, allocations: 0 / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4961, allocations: 19.98 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4961, allocations: 0 / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.4962, allocations: 11.98 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4962, allocations: 3.953 kB / 0.5943 GB, free: 10.36 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/0.4963, allocations: 109 kB / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.4963, allocations: 15.84 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.4965, allocations: 107 kB / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4965, allocations: 0 / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4966, allocations: 0 / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4966, allocations: 0 / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.4971, allocations: 419.2 kB / 0.5949 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4971, allocations: 3.938 kB / 0.5949 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.4972, allocations: 28.02 kB / 0.5949 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4972, allocations: 4 kB / 0.5949 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4972, allocations: 0 / 0.5949 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4972, allocations: 4 kB / 0.5949 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4973, allocations: 7.891 kB / 0.5949 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.4975, allocations: 198.2 kB / 0.5951 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.4976, allocations: 104.9 kB / 0.5952 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.4976, allocations: 0 / 0.5952 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.4977, allocations: 15.94 kB / 0.5952 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.4977, allocations: 4 kB / 0.5952 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.4977, allocations: 0 / 0.5952 GB, free: 9.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001942/0.4979, allocations: 196.4 kB / 0.5954 GB, free: 9.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.498, allocations: 0 / 0.5954 GB, free: 9.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.4982, allocations: 35.92 kB / 0.5955 GB, free: 9.016 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.4993, allocations: 422.2 kB / 0.5959 GB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.4994, allocations: 40 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4994, allocations: 4 kB / 0.5959 GB, free: 8.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.998e-05/0.4995, allocations: 27.94 kB / 0.5959 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.4997, allocations: 16.17 kB / 0.5959 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.5003, allocations: 239.5 kB / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.5005, allocations: 0.72 MB / 0.5969 GB, free: 7.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.787e-05/0.5006, allocations: 20.97 kB / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.5006, allocations: 15.44 kB / 0.5969 GB, free: 7.582 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5006, allocations: 0 / 0.5969 GB, free: 7.582 MB / 410.7 MB Notification: Performance of Templates: time 0.003679/0.5043, allocations: 1.461 MB / 0.5983 GB, free: 6.125 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches