Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009323/0.000932, 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.283/1.283, allocations: 221.4 MB / 236 MB, free: 2.953 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.0008533/0.0008534, allocations: 92.05 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.1744/0.1744, allocations: 44.16 MB / 382.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.504e-05, allocations: 4.219 kB / 451.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.4813, allocations: 87.98 MB / 0.5876 GB, free: 1.359 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4816, allocations: 71.95 kB / 0.5877 GB, free: 1.289 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009625/0.4912, allocations: 3.684 MB / 0.5913 GB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4912, allocations: 0 / 0.5913 GB, free: 13.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.4913, allocations: 0 / 0.5913 GB, free: 13.61 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.0003289/0.4916, allocations: 358.5 kB / 0.5916 GB, free: 13.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4916, allocations: 16.02 kB / 0.5916 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.4917, allocations: 7.906 kB / 0.5917 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.4919, allocations: 190.8 kB / 0.5918 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.4919, allocations: 4 kB / 0.5918 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4919, allocations: 4 kB / 0.5918 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.4921, allocations: 53.58 kB / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4921, allocations: 0 / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4921, allocations: 4 kB / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.4921, allocations: 0 / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.4922, allocations: 19.98 kB / 0.5919 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.4926, allocations: 280.9 kB / 0.5922 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.4927, allocations: 42.5 kB / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.4928, allocations: 8.859 kB / 0.5922 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4928, allocations: 3.938 kB / 0.5922 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.4928, allocations: 38.56 kB / 0.5923 GB, free: 12.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.4928, allocations: 0 / 0.5923 GB, free: 12.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000375/0.4932, allocations: 113.4 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.4933, allocations: 51.41 kB / 0.5924 GB, free: 12.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.4934, allocations: 130.8 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.4934, allocations: 25.7 kB / 0.5926 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.4935, allocations: 100.1 kB / 0.5927 GB, free: 11.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.4935, allocations: 19.72 kB / 0.5927 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.4935, allocations: 0 / 0.5927 GB, free: 11.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.4936, allocations: 326.8 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.4936, allocations: 12 kB / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/0.4937, allocations: 12 kB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.4937, allocations: 15.98 kB / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.4937, allocations: 3.938 kB / 0.5931 GB, free: 11.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.966e-05/0.4938, allocations: 61.69 kB / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4938, allocations: 4 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4938, allocations: 0 / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.4939, allocations: 0 / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.4939, allocations: 15.98 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4939, allocations: 4 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.494, allocations: 12 kB / 0.5931 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.494, allocations: 0 / 0.5931 GB, free: 11.5 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 5.212e-05/0.4941, allocations: 104.9 kB / 0.5932 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.4941, allocations: 7.906 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.4943, allocations: 81.7 kB / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4943, allocations: 0 / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4943, allocations: 4 kB / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4943, allocations: 8.438 kB / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.4946, allocations: 338.4 kB / 0.5937 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4946, allocations: 3.984 kB / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.4947, allocations: 19.98 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4947, allocations: 0 / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.4947, allocations: 4 kB / 0.5937 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4947, allocations: 3.938 kB / 0.5937 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4948, allocations: 7.938 kB / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.4949, allocations: 159.5 kB / 0.5939 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.4949, allocations: 89 kB / 0.5939 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.495, allocations: 0 / 0.5939 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.495, allocations: 8 kB / 0.5939 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.4951, allocations: 7.984 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.4951, allocations: 0 / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.814e-05/0.4952, allocations: 110.4 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4952, allocations: 3.938 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.4954, allocations: 23.92 kB / 0.5941 GB, free: 10.43 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.0007983/0.4962, allocations: 361 kB / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.4963, allocations: 31.94 kB / 0.5945 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4963, allocations: 0 / 0.5945 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.4964, allocations: 23.94 kB / 0.5945 GB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4966, allocations: 23.92 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.4969, allocations: 117 kB / 0.5946 GB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.4971, allocations: 0.6986 MB / 0.5953 GB, free: 9.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.429e-05/0.4972, allocations: 12.17 kB / 0.5953 GB, free: 9.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.4972, allocations: 11.44 kB / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4972, allocations: 0 / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of Templates: time 0.0029/0.5001, allocations: 1.042 MB / 0.5963 GB, free: 8.184 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches