Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009351/0.0009352, allocations: 180 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.242/1.242, allocations: 221.3 MB / 236 MB, free: 2.965 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.0008429/0.0008429, allocations: 94.02 kB / 287 MB, free: 264 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.1798/0.1798, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.51e-05, allocations: 4.219 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.4915, allocations: 87.97 MB / 0.5876 GB, free: 1.379 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.4918, allocations: 71.97 kB / 0.5877 GB, free: 1.309 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.5021, allocations: 4.271 MB / 0.5918 GB, free: 13.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5021, allocations: 0 / 0.5918 GB, free: 13.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.5021, allocations: 3.984 kB / 0.5919 GB, free: 13.05 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.0003333/0.5024, allocations: 394.2 kB / 0.5922 GB, free: 12.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5025, allocations: 8.031 kB / 0.5922 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.5025, allocations: 7.906 kB / 0.5922 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.5027, allocations: 198.9 kB / 0.5924 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.5028, allocations: 3.938 kB / 0.5924 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.5028, allocations: 11.84 kB / 0.5924 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.5029, allocations: 57.56 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5029, allocations: 0 / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.5029, allocations: 4 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.5029, allocations: 4 kB / 0.5925 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.503, allocations: 15.98 kB / 0.5925 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.5033, allocations: 296.8 kB / 0.5928 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/0.5034, allocations: 34.52 kB / 0.5928 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.5034, allocations: 16.86 kB / 0.5929 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.5035, allocations: 4 kB / 0.5929 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.5035, allocations: 30.56 kB / 0.5929 GB, free: 11.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.5035, allocations: 0 / 0.5929 GB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004556/0.5039, allocations: 153.2 kB / 0.593 GB, free: 11.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.504, allocations: 55.41 kB / 0.5931 GB, free: 11.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.5042, allocations: 185.4 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.5042, allocations: 25.7 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.5042, allocations: 108.1 kB / 0.5934 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.5043, allocations: 27.64 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.5043, allocations: 0 / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.5044, allocations: 326.8 kB / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.5044, allocations: 12 kB / 0.5937 GB, free: 10.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.5044, allocations: 20 kB / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.5045, allocations: 19.92 kB / 0.5938 GB, free: 10.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5045, allocations: 4 kB / 0.5938 GB, free: 10.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001134/0.5046, allocations: 85.5 kB / 0.5939 GB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5046, allocations: 5.406 kB / 0.5939 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5046, allocations: 4 kB / 0.5939 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5047, allocations: 0 / 0.5939 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.5048, allocations: 19.98 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5048, allocations: 0 / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.5048, allocations: 4 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.5048, allocations: 4 kB / 0.5939 GB, free: 10.73 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.741e-05/0.5049, allocations: 116.9 kB / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.5049, allocations: 7.906 kB / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.5051, allocations: 106.2 kB / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5051, allocations: 288 / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.5051, allocations: 0 / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.5051, allocations: 4 kB / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.5055, allocations: 407.6 kB / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5055, allocations: 0 / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.5056, allocations: 19.98 kB / 0.5945 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5056, allocations: 3.938 kB / 0.5945 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.5056, allocations: 3.938 kB / 0.5945 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5056, allocations: 4 kB / 0.5945 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5056, allocations: 80 / 0.5945 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.5058, allocations: 202 kB / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.5058, allocations: 100.9 kB / 0.5948 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.5059, allocations: 4 kB / 0.5948 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.5059, allocations: 7.984 kB / 0.5948 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.506, allocations: 11.95 kB / 0.5949 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.506, allocations: 0 / 0.5949 GB, free: 9.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.5061, allocations: 160.1 kB / 0.595 GB, free: 9.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5061, allocations: 0 / 0.595 GB, free: 9.488 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.5063, allocations: 31.92 kB / 0.595 GB, free: 9.457 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.0008068/0.5072, allocations: 420.4 kB / 0.5954 GB, free: 9.156 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.906e-05/0.5073, allocations: 40 kB / 0.5955 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5073, allocations: 0 / 0.5955 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.5073, allocations: 27.94 kB / 0.5955 GB, free: 9.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.5075, allocations: 15.98 kB / 0.5955 GB, free: 9.074 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.5079, allocations: 175.9 kB / 0.5957 GB, free: 8.871 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.5081, allocations: 0.7161 MB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.5082, allocations: 12.97 kB / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.5082, allocations: 19.36 kB / 0.5964 GB, free: 8.094 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5082, allocations: 0 / 0.5964 GB, free: 8.094 MB / 410.7 MB Notification: Performance of Templates: time 0.003144/0.5114, allocations: 1.346 MB / 0.5977 GB, free: 6.75 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches