Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 179.6 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.224/1.224, allocations: 221.3 MB / 236 MB, free: 2.965 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.0008485/0.0008485, allocations: 91.55 kB / 287 MB, free: 256 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.1721/0.1721, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.397e-05, allocations: 7.938 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4825, allocations: 88.08 MB / 0.5877 GB, free: 1.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4829, allocations: 71.94 kB / 0.5878 GB, free: 1.195 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01147/0.4944, allocations: 4.394 MB / 0.5921 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4944, allocations: 0 / 0.5921 GB, free: 12.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.4944, allocations: 8 kB / 0.5921 GB, free: 12.8 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.0004159/0.4949, allocations: 394.2 kB / 0.5925 GB, free: 12.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4949, allocations: 8.031 kB / 0.5925 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.495, allocations: 23.73 kB / 0.5925 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.4953, allocations: 206.8 kB / 0.5927 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4953, allocations: 7.953 kB / 0.5927 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.4953, allocations: 4 kB / 0.5927 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.4955, allocations: 53.62 kB / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4955, allocations: 4 kB / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4955, allocations: 0 / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4955, allocations: 0 / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.4956, allocations: 16 kB / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.4961, allocations: 324.7 kB / 0.5931 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.85e-05/0.4962, allocations: 42.56 kB / 0.5931 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.4962, allocations: 16.86 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4962, allocations: 0 / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.4963, allocations: 34.5 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4963, allocations: 0 / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005444/0.4968, allocations: 177.4 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.4969, allocations: 55.41 kB / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.4971, allocations: 209.8 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4971, allocations: 25.7 kB / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.4972, allocations: 112.1 kB / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.4972, allocations: 27.62 kB / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4972, allocations: 4 kB / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4974, allocations: 326.8 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.4974, allocations: 19.98 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.4975, allocations: 28.05 kB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.4975, allocations: 27.98 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4975, allocations: 0 / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001335/0.4977, allocations: 85.59 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4977, allocations: 8 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.4977, allocations: 3.938 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4977, allocations: 4.031 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.4978, allocations: 19.98 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.4978, allocations: 0 / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.4979, allocations: 19.83 kB / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4979, allocations: 7.953 kB / 0.5943 GB, free: 10.33 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 5.814e-05/0.498, allocations: 105 kB / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.498, allocations: 11.91 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.4982, allocations: 115.1 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4982, allocations: 0 / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4983, allocations: 0 / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4983, allocations: 0 / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.4988, allocations: 435.2 kB / 0.5949 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4988, allocations: 0 / 0.5949 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.632e-05/0.4989, allocations: 19.98 kB / 0.5949 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4989, allocations: 0 / 0.5949 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4989, allocations: 4 kB / 0.5949 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4989, allocations: 3.938 kB / 0.5949 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4989, allocations: 3.953 kB / 0.5949 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.4991, allocations: 218.3 kB / 0.5952 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.4992, allocations: 100.9 kB / 0.5953 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.4992, allocations: 4 kB / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.4993, allocations: 7.953 kB / 0.5953 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.4994, allocations: 7.984 kB / 0.5953 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4994, allocations: 8 kB / 0.5953 GB, free: 9.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.4996, allocations: 184.3 kB / 0.5955 GB, free: 9.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4996, allocations: 0 / 0.5955 GB, free: 9.012 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.4998, allocations: 31.94 kB / 0.5955 GB, free: 8.98 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.0009129/0.5007, allocations: 412.1 kB / 0.5959 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.5009, allocations: 63.91 kB / 0.5959 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5009, allocations: 0 / 0.5959 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.501, allocations: 31.94 kB / 0.596 GB, free: 8.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.5012, allocations: 16.11 kB / 0.596 GB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.5016, allocations: 223.7 kB / 0.5962 GB, free: 8.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.502, allocations: 0.7199 MB / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.502, allocations: 28.95 kB / 0.5969 GB, free: 7.559 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.5021, allocations: 15.44 kB / 0.5969 GB, free: 7.543 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5021, allocations: 0 / 0.5969 GB, free: 7.543 MB / 410.7 MB Notification: Performance of Templates: time 0.004024/0.5061, allocations: 1.444 MB / 0.5984 GB, free: 6.102 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches