Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 106.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.209/0.209, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3875, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003341/0.3909, allocations: 1.974 MB / 0.5215 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.3927, allocations: 1.136 MB / 0.5226 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3928, allocations: 2.5 kB / 0.5226 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.3931, allocations: 47.16 kB / 0.5227 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.3935, allocations: 148.9 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3949, allocations: 0.5863 MB / 0.5234 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.3954, allocations: 281.6 kB / 0.5236 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.3956, allocations: 70.5 kB / 0.5237 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.3958, allocations: 126.7 kB / 0.5238 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.3961, allocations: 180.1 kB / 0.524 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.3962, allocations: 13.16 kB / 0.524 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.3963, allocations: 59.47 kB / 0.5241 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.3965, allocations: 145.6 kB / 0.5242 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.3967, allocations: 155 kB / 0.5244 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.3972, allocations: 363.6 kB / 0.5247 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3972, allocations: 0 / 0.5247 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3972, allocations: 0 / 0.5247 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3973, allocations: 0 / 0.5247 GB, free: 0.5078 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009913/0.3983, allocations: 0.7565 MB / 0.5254 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3983, allocations: 8.469 kB / 0.5255 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.3984, allocations: 52.52 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.399, allocations: 451.3 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.399, allocations: 4.5 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.3991, allocations: 15.7 kB / 0.526 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.3994, allocations: 147.1 kB / 0.5261 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3994, allocations: 7.938 kB / 0.5261 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3995, allocations: 2.219 kB / 0.5261 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3995, allocations: 2.75 kB / 0.5261 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.3997, allocations: 98.42 kB / 0.5262 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.4008, allocations: 0.6711 MB / 0.5269 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.4011, allocations: 118 kB / 0.527 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4012, allocations: 42.27 kB / 0.527 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.4012, allocations: 9.844 kB / 0.527 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.4013, allocations: 40.34 kB / 0.5271 GB, free: 14.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.745e-06/0.4013, allocations: 4 kB / 0.5271 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001645/0.4029, allocations: 0.5219 MB / 0.5276 GB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.403, allocations: 79.02 kB / 0.5276 GB, free: 14.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.4043, allocations: 0.8704 MB / 0.5285 GB, free: 13.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4043, allocations: 27.11 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.4045, allocations: 249.8 kB / 0.5288 GB, free: 13.74 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.4046, allocations: 53.84 kB / 0.5288 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.4047, allocations: 37.8 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.4049, allocations: 363.6 kB / 0.5292 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.4051, allocations: 62.86 kB / 0.5293 GB, free: 13.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.4053, allocations: 84.88 kB / 0.5293 GB, free: 13.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.4057, allocations: 160.2 kB / 0.5295 GB, free: 13.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4057, allocations: 0 / 0.5295 GB, free: 13.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004964/0.4062, allocations: 245.3 kB / 0.5297 GB, free: 13.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4062, allocations: 8.094 kB / 0.5297 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4062, allocations: 0.9688 kB / 0.5297 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4062, allocations: 1.062 kB / 0.5297 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.4064, allocations: 40.38 kB / 0.5298 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4065, allocations: 1.125 kB / 0.5298 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.4066, allocations: 14.73 kB / 0.5298 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.4066, allocations: 4.906 kB / 0.5298 GB, free: 13 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002252/0.4068, allocations: 224.3 kB / 0.53 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.4069, allocations: 51.19 kB / 0.5301 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006089/0.4076, allocations: 289.1 kB / 0.5303 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.4076, allocations: 3.984 kB / 0.5303 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4076, allocations: 5.25 kB / 0.5303 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.4078, allocations: 135.5 kB / 0.5305 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.4078, allocations: 5.594 kB / 0.5305 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.408, allocations: 10.95 kB / 0.5305 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.4081, allocations: 18.52 kB / 0.5305 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005728/0.4086, allocations: 368.1 kB / 0.5309 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005796/0.4092, allocations: 487.2 kB / 0.5313 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001864/0.4094, allocations: 86.06 kB / 0.5314 GB, free: 11.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006908/0.4101, allocations: 0.6225 MB / 0.532 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Backend: time 2.11e-07/0.4101, allocations: 0 / 0.532 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.4119, allocations: 0.5859 MB / 0.5326 GB, free: 11.25 MB / 398.1 MB Notification: Performance of SimCode: time 0.001621/0.4135, allocations: 1.311 MB / 0.5339 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Templates: time 0.009583/0.4231, allocations: 4.718 MB / 0.5385 GB, free: 8 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches