Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 180.5 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.313/1.313, 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.0008304/0.0008304, allocations: 91.84 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.1734/0.1734, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.527e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3685/0.4825, allocations: 88.21 MB / 0.5878 GB, free: 1.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.4828, allocations: 71.97 kB / 0.5879 GB, free: 1.023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.4944, allocations: 4.714 MB / 0.5925 GB, free: 12.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4944, allocations: 0 / 0.5925 GB, free: 12.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.4945, allocations: 4 kB / 0.5925 GB, free: 12.32 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003879/0.4949, allocations: 406.1 kB / 0.5929 GB, free: 11.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4949, allocations: 12.03 kB / 0.5929 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.495, allocations: 11.81 kB / 0.5929 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.4952, allocations: 207.4 kB / 0.5931 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.4952, allocations: 4 kB / 0.5931 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.4953, allocations: 7.906 kB / 0.5931 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4954, allocations: 69.62 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4954, allocations: 3.938 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4954, allocations: 12 kB / 0.5932 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4955, allocations: 4 kB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.4955, allocations: 31.98 kB / 0.5933 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.496, allocations: 352.7 kB / 0.5936 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.863e-05/0.4961, allocations: 66.5 kB / 0.5937 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.4961, allocations: 16.86 kB / 0.5937 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.4962, allocations: 0 / 0.5937 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.4962, allocations: 34.56 kB / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.4962, allocations: 0 / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005981/0.4968, allocations: 238.2 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.4969, allocations: 67.34 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.4971, allocations: 210.4 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.4971, allocations: 29.7 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.4972, allocations: 123.8 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.4972, allocations: 43.36 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.4972, allocations: 0 / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4973, allocations: 326.8 kB / 0.5947 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.4974, allocations: 35.98 kB / 0.5947 GB, free: 9.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.4974, allocations: 33.5 kB / 0.5948 GB, free: 9.812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/0.4975, allocations: 43.97 kB / 0.5948 GB, free: 9.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4975, allocations: 0 / 0.5948 GB, free: 9.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001788/0.4977, allocations: 133.2 kB / 0.5949 GB, free: 9.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4977, allocations: 8 kB / 0.5949 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4977, allocations: 0 / 0.5949 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.4978, allocations: 0 / 0.5949 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.4979, allocations: 31.92 kB / 0.595 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4979, allocations: 3.984 kB / 0.595 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.498, allocations: 19.86 kB / 0.595 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.498, allocations: 4 kB / 0.595 GB, free: 9.57 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 (13): * Single equations (assignments): 13 * 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.7e-05/0.4981, allocations: 109 kB / 0.5951 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.4981, allocations: 7.906 kB / 0.5951 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.4984, allocations: 175.5 kB / 0.5953 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4984, allocations: 7.984 kB / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4984, allocations: 0 / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4984, allocations: 0 / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.4989, allocations: 0.4951 MB / 0.5958 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.499, allocations: 4 kB / 0.5958 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.4991, allocations: 23.98 kB / 0.5958 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4991, allocations: 0 / 0.5958 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4991, allocations: 7.953 kB / 0.5958 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4991, allocations: 3.938 kB / 0.5958 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4991, allocations: 4.031 kB / 0.5958 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.4994, allocations: 246 kB / 0.596 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.4994, allocations: 100.9 kB / 0.5961 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.4995, allocations: 4 kB / 0.5961 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.4996, allocations: 12 kB / 0.5962 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.4996, allocations: 11.98 kB / 0.5962 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.4996, allocations: 4 kB / 0.5962 GB, free: 8.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.4998, allocations: 164.2 kB / 0.5963 GB, free: 8.094 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4998, allocations: 0 / 0.5963 GB, free: 8.094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.5001, allocations: 36 kB / 0.5964 GB, free: 8.059 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 (13): * Single equations (assignments): 13 * 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.0009333/0.501, allocations: 431.6 kB / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.5012, allocations: 87.92 kB / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5012, allocations: 0 / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.5013, allocations: 55.92 kB / 0.5969 GB, free: 7.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.5015, allocations: 15.98 kB / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.5019, allocations: 250.5 kB / 0.5972 GB, free: 7.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.5022, allocations: 0.7238 MB / 0.5979 GB, free: 6.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.828e-05/0.5023, allocations: 32.52 kB / 0.5979 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.5024, allocations: 19.44 kB / 0.5979 GB, free: 6.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5024, allocations: 0 / 0.5979 GB, free: 6.52 MB / 410.7 MB Notification: Performance of Templates: time 0.00374/0.5061, allocations: 1.608 MB / 0.5995 GB, free: 4.914 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches