Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009352/0.0009351, 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.256/1.256, allocations: 221.3 MB / 236 MB, free: 2.984 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.000847/0.0008472, allocations: 91.8 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.1777/0.1777, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.692e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4826, allocations: 88.48 MB / 0.5881 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4829, allocations: 72.56 kB / 0.5882 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01103/0.4939, allocations: 4.501 MB / 0.5926 GB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4939, allocations: 0 / 0.5926 GB, free: 12.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.088e-06/0.494, allocations: 0 / 0.5926 GB, free: 12.28 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003724/0.4943, allocations: 402.2 kB / 0.593 GB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4944, allocations: 8.031 kB / 0.593 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.4944, allocations: 7.906 kB / 0.593 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.4947, allocations: 198.5 kB / 0.5932 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4947, allocations: 15.89 kB / 0.5932 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.4947, allocations: 4 kB / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.4948, allocations: 53.62 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4948, allocations: 0 / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.4949, allocations: 0 / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.4949, allocations: 4 kB / 0.5932 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.4949, allocations: 20 kB / 0.5933 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.4953, allocations: 320.7 kB / 0.5936 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.4955, allocations: 46.56 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.4955, allocations: 12.98 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.4955, allocations: 8.031 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.4956, allocations: 30.56 kB / 0.5937 GB, free: 11.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4956, allocations: 0 / 0.5937 GB, free: 11.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005369/0.4961, allocations: 216.9 kB / 0.5939 GB, free: 10.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.4961, allocations: 55.41 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.4963, allocations: 150.1 kB / 0.5941 GB, free: 10.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.4963, allocations: 25.7 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.4964, allocations: 104 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.4964, allocations: 43.45 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.4964, allocations: 4 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.4965, allocations: 322.8 kB / 0.5945 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.4966, allocations: 20 kB / 0.5946 GB, free: 10.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.4966, allocations: 28 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/0.4967, allocations: 22.95 kB / 0.5946 GB, free: 9.996 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4967, allocations: 0 / 0.5946 GB, free: 9.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001436/0.4968, allocations: 113.5 kB / 0.5947 GB, free: 9.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4968, allocations: 9.094 kB / 0.5947 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4968, allocations: 0 / 0.5947 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4969, allocations: 4 kB / 0.5947 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.497, allocations: 27.98 kB / 0.5947 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.497, allocations: 7.938 kB / 0.5948 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.4971, allocations: 15.98 kB / 0.5948 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.4971, allocations: 4 kB / 0.5948 GB, free: 9.812 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 (11): * Single equations (assignments): 11 * 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.581e-05/0.4971, allocations: 112.9 kB / 0.5949 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.4972, allocations: 7.906 kB / 0.5949 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.4974, allocations: 134.1 kB / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4974, allocations: 0 / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4974, allocations: 0 / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4974, allocations: 3.953 kB / 0.595 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.4978, allocations: 448 kB / 0.5954 GB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4979, allocations: 0 / 0.5954 GB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.498, allocations: 27.98 kB / 0.5955 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.498, allocations: 0 / 0.5955 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.498, allocations: 11.95 kB / 0.5955 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.498, allocations: 0 / 0.5955 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.498, allocations: 3.938 kB / 0.5955 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.4982, allocations: 240.9 kB / 0.5957 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.4983, allocations: 96.91 kB / 0.5958 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.4983, allocations: 4 kB / 0.5958 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4984, allocations: 19.98 kB / 0.5958 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4984, allocations: 15.98 kB / 0.5959 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.4985, allocations: 0 / 0.5959 GB, free: 8.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.4985, allocations: 131.1 kB / 0.596 GB, free: 8.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4986, allocations: 4 kB / 0.596 GB, free: 8.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.4988, allocations: 35.98 kB / 0.596 GB, free: 8.418 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008084/0.4996, allocations: 412.5 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.4998, allocations: 75.81 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4998, allocations: 0 / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.4998, allocations: 47.88 kB / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.5, allocations: 15.94 kB / 0.5965 GB, free: 7.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.5004, allocations: 191.5 kB / 0.5967 GB, free: 7.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.5006, allocations: 0.7121 MB / 0.5974 GB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.5007, allocations: 24.41 kB / 0.5974 GB, free: 7.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.5007, allocations: 15.44 kB / 0.5975 GB, free: 7 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5008, allocations: 0 / 0.5975 GB, free: 7 MB / 410.7 MB Notification: Performance of Templates: time 0.003381/0.5041, allocations: 1.483 MB / 0.5989 GB, free: 5.52 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches