Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001385, 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.275/1.275, allocations: 221.4 MB / 236 MB, free: 2.957 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.0009279/0.0009279, allocations: 95.53 kB / 287 MB, free: 248 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.1767/0.1767, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.509e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4814, allocations: 87.98 MB / 0.5876 GB, free: 1.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4817, allocations: 75.95 kB / 0.5877 GB, free: 1.266 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009882/0.4916, allocations: 4.178 MB / 0.5918 GB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4916, allocations: 0 / 0.5918 GB, free: 13.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4916, allocations: 7.984 kB / 0.5918 GB, free: 13.09 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.0003631/0.492, allocations: 382.2 kB / 0.5921 GB, free: 12.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4921, allocations: 8.031 kB / 0.5921 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.4921, allocations: 7.906 kB / 0.5922 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.4923, allocations: 202.2 kB / 0.5923 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4923, allocations: 7.938 kB / 0.5924 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.4924, allocations: 4 kB / 0.5924 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.4925, allocations: 57.62 kB / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.4925, allocations: 0 / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.4925, allocations: 0 / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4925, allocations: 3.938 kB / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.4926, allocations: 19.98 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.493, allocations: 296.7 kB / 0.5927 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.734e-05/0.493, allocations: 46.52 kB / 0.5928 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.4931, allocations: 8.859 kB / 0.5928 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.4931, allocations: 0 / 0.5928 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.4931, allocations: 38.56 kB / 0.5928 GB, free: 11.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.4931, allocations: 0 / 0.5928 GB, free: 11.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004565/0.4936, allocations: 149.3 kB / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.4936, allocations: 51.41 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.4938, allocations: 169.9 kB / 0.5932 GB, free: 11.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.4938, allocations: 25.7 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.4939, allocations: 104.1 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.4939, allocations: 27.67 kB / 0.5933 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.4939, allocations: 8 kB / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4941, allocations: 322.8 kB / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.4941, allocations: 20 kB / 0.5936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.4942, allocations: 16.06 kB / 0.5937 GB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.4942, allocations: 20 kB / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4942, allocations: 0 / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001193/0.4943, allocations: 81.53 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4944, allocations: 4 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4944, allocations: 3.984 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4944, allocations: 0 / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4945, allocations: 16 kB / 0.5938 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4945, allocations: 4 kB / 0.5938 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.4946, allocations: 11.98 kB / 0.5938 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.4946, allocations: 4 kB / 0.5938 GB, free: 10.8 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.488e-05/0.4946, allocations: 108.9 kB / 0.5939 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.4947, allocations: 15.84 kB / 0.5939 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.4948, allocations: 106.1 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4949, allocations: 4 kB / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4949, allocations: 0 / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4949, allocations: 7.984 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.4953, allocations: 383.3 kB / 0.5944 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4953, allocations: 7.984 kB / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.4953, allocations: 16 kB / 0.5944 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4953, allocations: 288 / 0.5944 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4954, allocations: 4 kB / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4954, allocations: 8.016 kB / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4954, allocations: 4.391 kB / 0.5944 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.4955, allocations: 201.9 kB / 0.5946 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.4956, allocations: 100.9 kB / 0.5947 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.4956, allocations: 3.984 kB / 0.5947 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.4957, allocations: 12 kB / 0.5947 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.4957, allocations: 11.94 kB / 0.5948 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.4958, allocations: 4 kB / 0.5948 GB, free: 9.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.4959, allocations: 150.4 kB / 0.5949 GB, free: 9.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4959, allocations: 0 / 0.5949 GB, free: 9.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.4961, allocations: 24 kB / 0.5949 GB, free: 9.543 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.0009057/0.497, allocations: 415.7 kB / 0.5953 GB, free: 9.246 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.4971, allocations: 40 kB / 0.5954 GB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4971, allocations: 0 / 0.5954 GB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.4972, allocations: 27.94 kB / 0.5954 GB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.4974, allocations: 13.7 kB / 0.5954 GB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.4977, allocations: 186.8 kB / 0.5956 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.498, allocations: 0.7083 MB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.498, allocations: 16.95 kB / 0.5963 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.4981, allocations: 15.44 kB / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4981, allocations: 4 kB / 0.5963 GB, free: 8.184 MB / 410.7 MB Notification: Performance of Templates: time 0.003132/0.5012, allocations: 1.314 MB / 0.5976 GB, free: 6.875 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches