Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009317/0.0009316, 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.291/1.291, allocations: 221.3 MB / 236 MB, free: 2.992 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.0008084/0.0008083, allocations: 95.98 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.1729/0.1729, allocations: 44.15 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.766e-05, allocations: 4.219 kB / 451.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4793, allocations: 88.27 MB / 0.5879 GB, free: 1.074 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4795, allocations: 71.95 kB / 0.588 GB, free: 1.004 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0108/0.4904, allocations: 4.296 MB / 0.5922 GB, free: 12.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4904, allocations: 0 / 0.5922 GB, free: 12.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.4904, allocations: 0 / 0.5922 GB, free: 12.72 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003336/0.4908, allocations: 366.4 kB / 0.5925 GB, free: 12.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4908, allocations: 8.031 kB / 0.5925 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.4909, allocations: 11.84 kB / 0.5925 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.4911, allocations: 190.9 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.4911, allocations: 0 / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.4911, allocations: 4 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4912, allocations: 63.36 kB / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.4913, allocations: 0 / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.4913, allocations: 0 / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4913, allocations: 0 / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.4913, allocations: 19.94 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.4917, allocations: 280.9 kB / 0.5931 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.4919, allocations: 54.48 kB / 0.5931 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.4919, allocations: 8.859 kB / 0.5931 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.4919, allocations: 0 / 0.5931 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.492, allocations: 42.58 kB / 0.5932 GB, free: 11.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.492, allocations: 4 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003895/0.4924, allocations: 97.39 kB / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.4924, allocations: 89.09 kB / 0.5934 GB, free: 11.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4926, allocations: 126 kB / 0.5935 GB, free: 11.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4926, allocations: 25.7 kB / 0.5935 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.4926, allocations: 92.14 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.4927, allocations: 11.75 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/0.4927, allocations: 0 / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.4928, allocations: 322.8 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.4928, allocations: 12 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.4928, allocations: 29.7 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.367e-05/0.4929, allocations: 19.95 kB / 0.594 GB, free: 10.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4929, allocations: 0 / 0.594 GB, free: 10.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.562e-05/0.493, allocations: 65.59 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.493, allocations: 5.094 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.493, allocations: 0 / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.493, allocations: 0 / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.4931, allocations: 19.92 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4931, allocations: 0 / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.4932, allocations: 12.28 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4932, allocations: 7.984 kB / 0.5941 GB, free: 10.55 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 (5): * Single equations (assignments): 5 * 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.796e-05/0.4933, allocations: 112.9 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.4933, allocations: 3.906 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.4935, allocations: 81.75 kB / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4935, allocations: 4 kB / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4935, allocations: 0 / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4935, allocations: 4 kB / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.4938, allocations: 334.5 kB / 0.5946 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4938, allocations: 3.938 kB / 0.5946 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.4939, allocations: 19.98 kB / 0.5946 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4939, allocations: 0 / 0.5946 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4939, allocations: 7.938 kB / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4939, allocations: 0 / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4939, allocations: 0 / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.4941, allocations: 175.3 kB / 0.5948 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.4941, allocations: 81.02 kB / 0.5949 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.4942, allocations: 4 kB / 0.5949 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.4942, allocations: 11.98 kB / 0.5949 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.4943, allocations: 4 kB / 0.5949 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4943, allocations: 0 / 0.5949 GB, free: 9.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.4944, allocations: 106.4 kB / 0.595 GB, free: 9.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4944, allocations: 4 kB / 0.595 GB, free: 9.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.4946, allocations: 28 kB / 0.595 GB, free: 9.477 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009136/0.4955, allocations: 404.1 kB / 0.5954 GB, free: 9.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.4957, allocations: 47.92 kB / 0.5954 GB, free: 9.137 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4957, allocations: 0 / 0.5954 GB, free: 9.137 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.4957, allocations: 16 kB / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.4959, allocations: 17.66 kB / 0.5955 GB, free: 9.105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.4962, allocations: 101.5 kB / 0.5956 GB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.4964, allocations: 0.6965 MB / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.4965, allocations: 28.09 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.4965, allocations: 11.44 kB / 0.5963 GB, free: 8.219 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4966, allocations: 0 / 0.5963 GB, free: 8.219 MB / 410.7 MB Notification: Performance of Templates: time 0.003388/0.4999, allocations: 1.289 MB / 0.5975 GB, free: 6.934 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches