Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 177 kB / 17.06 MB, free: 5.098 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.256/1.256, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008362/0.0008362, allocations: 97.3 kB / 292.2 MB, free: 10.89 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.3093/0.3093, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 8 kB / 459.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3613, allocations: 61.9 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.4753, allocations: 89.07 MB / 0.5965 GB, free: 6.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.4756, allocations: 71.94 kB / 0.5966 GB, free: 5.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01811/0.4937, allocations: 8.473 MB / 0.6049 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4938, allocations: 0 / 0.6049 GB, free: 13.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.4938, allocations: 8 kB / 0.6049 GB, free: 13.46 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006822/0.4945, allocations: 0.6414 MB / 0.6055 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4945, allocations: 8.562 kB / 0.6055 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.4946, allocations: 43.44 kB / 0.6056 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.4951, allocations: 339.2 kB / 0.6059 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.4951, allocations: 0 / 0.6059 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.4952, allocations: 11.91 kB / 0.6059 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.4953, allocations: 61.67 kB / 0.606 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4954, allocations: 0 / 0.606 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.4954, allocations: 0 / 0.606 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4954, allocations: 4 kB / 0.606 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.4955, allocations: 39.91 kB / 0.606 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.4962, allocations: 460.6 kB / 0.6064 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.4964, allocations: 54.53 kB / 0.6065 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.4964, allocations: 3.984 kB / 0.6065 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.4964, allocations: 34.64 kB / 0.6065 GB, free: 11.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.4964, allocations: 0 / 0.6065 GB, free: 11.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001013/0.4975, allocations: 353 kB / 0.6069 GB, free: 11.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.4975, allocations: 51.41 kB / 0.6069 GB, free: 11.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4987, allocations: 0.7902 MB / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.4987, allocations: 25.7 kB / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.4989, allocations: 224 kB / 0.6079 GB, free: 10.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.499, allocations: 27.66 kB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.499, allocations: 4 kB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4991, allocations: 362.8 kB / 0.6083 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.4992, allocations: 31.98 kB / 0.6083 GB, free: 9.727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-05/0.4993, allocations: 35.97 kB / 0.6084 GB, free: 9.691 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.4994, allocations: 35.98 kB / 0.6084 GB, free: 9.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4994, allocations: 0 / 0.6084 GB, free: 9.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002741/0.4997, allocations: 161 kB / 0.6086 GB, free: 9.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4997, allocations: 4 kB / 0.6086 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4997, allocations: 0 / 0.6086 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4997, allocations: 7.953 kB / 0.6086 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.791e-05/0.4998, allocations: 19.98 kB / 0.6086 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.4998, allocations: 4 kB / 0.6086 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.4999, allocations: 11.98 kB / 0.6086 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4999, allocations: 4 kB / 0.6086 GB, free: 9.441 MB / 426.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 () * Number of clocked 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 0.0002052/0.5001, allocations: 213.8 kB / 0.6088 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.5002, allocations: 43.44 kB / 0.6089 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.5006, allocations: 181.4 kB / 0.609 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5006, allocations: 0 / 0.609 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5006, allocations: 7.938 kB / 0.609 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5006, allocations: 0 / 0.609 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.5016, allocations: 0.6591 MB / 0.6097 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5017, allocations: 4 kB / 0.6097 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/0.5017, allocations: 19.98 kB / 0.6097 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5018, allocations: 11.98 kB / 0.6097 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.5018, allocations: 0 / 0.6097 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5018, allocations: 480 / 0.6097 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5018, allocations: 7.938 kB / 0.6097 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.5021, allocations: 261.5 kB / 0.61 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.5023, allocations: 168.6 kB / 0.6101 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.5024, allocations: 3.984 kB / 0.6101 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.5025, allocations: 4 kB / 0.6101 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.5025, allocations: 7.984 kB / 0.6101 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.5025, allocations: 11.94 kB / 0.6102 GB, free: 7.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006615/0.5032, allocations: 0.6394 MB / 0.6108 GB, free: 7.094 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5032, allocations: 4 kB / 0.6108 GB, free: 7.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003162/0.5035, allocations: 67.92 kB / 0.6108 GB, free: 7.023 MB / 426.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 () * Number of clocked 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.0009619/0.5045, allocations: 462.9 kB / 0.6113 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.5047, allocations: 83.95 kB / 0.6114 GB, free: 6.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5048, allocations: 0 / 0.6114 GB, free: 6.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.5049, allocations: 43.92 kB / 0.6114 GB, free: 6.625 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.5051, allocations: 37.27 kB / 0.6114 GB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5064, allocations: 0.9554 MB / 0.6124 GB, free: 5.605 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.5068, allocations: 0.8379 MB / 0.6132 GB, free: 4.738 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.5069, allocations: 56.95 kB / 0.6133 GB, free: 4.684 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.507, allocations: 23.44 kB / 0.6133 GB, free: 4.66 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.507, allocations: 0 / 0.6133 GB, free: 4.66 MB / 426.7 MB Notification: Performance of Templates: time 0.005894/0.5129, allocations: 2.692 MB / 0.6159 GB, free: 1.969 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches