Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009296/0.0009298, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008788/0.0008789, allocations: 103.2 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.205/0.205, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.06e-05/2.05e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1492, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.594, allocations: 87.7 MB / 0.5803 GB, free: 8.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5943, allocations: 75.95 kB / 0.5804 GB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01751/0.6118, allocations: 7.84 MB / 0.5881 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6119, allocations: 0 / 0.5881 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.6119, allocations: 4 kB / 0.5881 GB, free: 0.8906 MB / 394.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.0006582/0.6126, allocations: 0.5559 MB / 0.5886 GB, free: 296 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.6126, allocations: 11.98 kB / 0.5886 GB, free: 284 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.6128, allocations: 47.44 kB / 0.5887 GB, free: 236 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/0.6134, allocations: 335.2 kB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6134, allocations: 0 / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.6134, allocations: 0 / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.857e-05/0.6135, allocations: 16 kB / 0.589 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.6136, allocations: 45.67 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6136, allocations: 0 / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.6137, allocations: 3.938 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6137, allocations: 4 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.6143, allocations: 409.3 kB / 0.5894 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.287e-05/0.6144, allocations: 34.56 kB / 0.5895 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.6145, allocations: 16.84 kB / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.6145, allocations: 4 kB / 0.5895 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.6145, allocations: 30.56 kB / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.6145, allocations: 0 / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000627/0.6152, allocations: 216 kB / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.6152, allocations: 55.23 kB / 0.5898 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.6165, allocations: 0.7551 MB / 0.5905 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.6165, allocations: 25.7 kB / 0.5905 GB, free: 14.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.6167, allocations: 216 kB / 0.5907 GB, free: 13.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.6168, allocations: 15.7 kB / 0.5908 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.6168, allocations: 4 kB / 0.5908 GB, free: 13.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.617, allocations: 366.8 kB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.453e-05/0.6171, allocations: 12 kB / 0.5911 GB, free: 13.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.6171, allocations: 19.94 kB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.6171, allocations: 20.27 kB / 0.5912 GB, free: 13.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.6172, allocations: 4 kB / 0.5912 GB, free: 13.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002174/0.6174, allocations: 105.1 kB / 0.5913 GB, free: 13.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.6174, allocations: 5.25 kB / 0.5913 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6174, allocations: 0 / 0.5913 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6174, allocations: 4 kB / 0.5913 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.6176, allocations: 23.98 kB / 0.5913 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.6176, allocations: 0 / 0.5913 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.6177, allocations: 15.98 kB / 0.5913 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.6177, allocations: 0 / 0.5913 GB, free: 13.36 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 (7): * Single equations (assignments): 7 * 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 0.00011/0.6178, allocations: 108.9 kB / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.6179, allocations: 47.44 kB / 0.5915 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.6182, allocations: 129.5 kB / 0.5916 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.6182, allocations: 4 kB / 0.5916 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6182, allocations: 0 / 0.5916 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6182, allocations: 3.984 kB / 0.5916 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.619, allocations: 0.5574 MB / 0.5921 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.619, allocations: 0 / 0.5921 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.6191, allocations: 23.98 kB / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6191, allocations: 4 kB / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.6191, allocations: 0 / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6191, allocations: 0 / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6192, allocations: 0 / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.6194, allocations: 202.9 kB / 0.5924 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.6196, allocations: 160.6 kB / 0.5925 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.6197, allocations: 3.938 kB / 0.5925 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6198, allocations: 19.98 kB / 0.5925 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.6198, allocations: 7.969 kB / 0.5925 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.6199, allocations: 4 kB / 0.5925 GB, free: 12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006936/0.6206, allocations: 0.612 MB / 0.5931 GB, free: 11.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6206, allocations: 0 / 0.5931 GB, free: 11.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000319/0.6209, allocations: 56 kB / 0.5932 GB, free: 11.34 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 (7): * Single equations (assignments): 7 * 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.000898/0.6218, allocations: 338.9 kB / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.6219, allocations: 36 kB / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.622, allocations: 0 / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.622, allocations: 27.94 kB / 0.5936 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.6223, allocations: 24.22 kB / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.6235, allocations: 0.7182 MB / 0.5943 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.624, allocations: 0.8302 MB / 0.5951 GB, free: 9.383 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.246e-05/0.6241, allocations: 43.94 kB / 0.5952 GB, free: 9.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.6242, allocations: 19.44 kB / 0.5952 GB, free: 9.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6242, allocations: 0 / 0.5952 GB, free: 9.32 MB / 410.7 MB Notification: Performance of Templates: time 0.006362/0.6305, allocations: 2.193 MB / 0.5973 GB, free: 7.117 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches