Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0021/0.0021, allocations: 178.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007865/0.0007866, allocations: 98.28 kB / 270.9 MB, free: 8.34 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4023/0.4023, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 16 kB / 431.4 MB, free: 6.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 58.84 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002139/0.1077, allocations: 1.609 MB / 491.8 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.109, allocations: 1.004 MB / 492.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.618e-05/0.1091, allocations: 4 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1093, allocations: 39.7 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1096, allocations: 123.6 kB / 493 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1106, allocations: 0.5225 MB / 493.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1109, allocations: 235.3 kB / 493.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1111, allocations: 68.67 kB / 493.8 MB, free: 7.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.1112, allocations: 107.5 kB / 493.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1114, allocations: 151.5 kB / 494.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.1115, allocations: 4 kB / 494.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.228e-05/0.1116, allocations: 31.98 kB / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1117, allocations: 135.6 kB / 494.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.1118, allocations: 81.45 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.112, allocations: 259.6 kB / 494.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.112, allocations: 0 / 494.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.112, allocations: 0 / 494.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.1121, allocations: 3.938 kB / 494.6 MB, free: 6.812 MB / 378.7 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.0008037/0.1129, allocations: 0.6842 MB / 495.3 MB, free: 6.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1129, allocations: 8.031 kB / 495.3 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.113, allocations: 55.34 kB / 495.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.1135, allocations: 419.1 kB / 495.7 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1135, allocations: 8 kB / 495.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1135, allocations: 12 kB / 495.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.1138, allocations: 143.3 kB / 495.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1138, allocations: 3.906 kB / 495.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1138, allocations: 7.938 kB / 495.9 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1139, allocations: 15.89 kB / 495.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.1141, allocations: 99.92 kB / 496 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.1149, allocations: 0.68 MB / 496.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1151, allocations: 121.2 kB / 496.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1153, allocations: 53.81 kB / 496.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1153, allocations: 3.938 kB / 496.9 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.1153, allocations: 30.56 kB / 496.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1153, allocations: 4 kB / 496.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001381/0.1167, allocations: 0.5683 MB / 497.5 MB, free: 3.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1168, allocations: 89.09 kB / 497.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/0.1176, allocations: 0.8544 MB / 498.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1176, allocations: 25.7 kB / 498.4 MB, free: 2.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1178, allocations: 252.3 kB / 498.7 MB, free: 2.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1178, allocations: 55.19 kB / 498.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.1178, allocations: 4 kB / 498.8 MB, free: 2.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.118, allocations: 366.8 kB / 499.1 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1182, allocations: 67.95 kB / 499.2 MB, free: 1.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1183, allocations: 89.67 kB / 499.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.1185, allocations: 79.95 kB / 499.3 MB, free: 1.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1186, allocations: 4 kB / 499.3 MB, free: 1.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004508/0.119, allocations: 253.1 kB / 499.6 MB, free: 1.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.119, allocations: 8 kB / 499.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.119, allocations: 3.938 kB / 499.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1191, allocations: 4 kB / 499.6 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1193, allocations: 43.97 kB / 499.7 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1193, allocations: 3.953 kB / 499.7 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.1194, allocations: 19.89 kB / 499.7 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1194, allocations: 4.75 kB / 499.7 MB, free: 1.449 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.1196, allocations: 221.6 kB / 499.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.1197, allocations: 55.34 kB / 500 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/0.1203, allocations: 302.3 kB / 0.4885 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1204, allocations: 4 kB / 0.4885 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1204, allocations: 0 / 0.4885 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1204, allocations: 3.953 kB / 0.4885 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1929/0.3132, allocations: 0.8037 MB / 0.4893 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.3133, allocations: 0 / 0.4893 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.3135, allocations: 41.56 kB / 0.4894 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.3136, allocations: 5.781 kB / 0.4894 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.3136, allocations: 7.234 kB / 0.4894 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3136, allocations: 1.125 kB / 0.4894 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3136, allocations: 0 / 0.4894 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.3142, allocations: 430 kB / 0.4898 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3144, allocations: 148.5 kB / 0.4899 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.3144, allocations: 1.891 kB / 0.4899 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3146, allocations: 15.77 kB / 0.4899 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.3147, allocations: 19.09 kB / 0.49 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.3147, allocations: 6.766 kB / 0.49 GB, free: 42.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007449/0.3155, allocations: 0.6274 MB / 0.4906 GB, free: 42.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3155, allocations: 0 / 0.4906 GB, free: 42.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.3159, allocations: 53.28 kB / 0.4906 GB, free: 42.55 MB / 378.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 (16): * Single equations (assignments): 16 * 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.0007942/0.3167, allocations: 415.3 kB / 0.491 GB, free: 42.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.3171, allocations: 180.5 kB / 0.4912 GB, free: 42.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3171, allocations: 0 / 0.4912 GB, free: 42.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.3173, allocations: 95.88 kB / 0.4913 GB, free: 42.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.3179, allocations: 71.66 kB / 0.4914 GB, free: 42.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3193, allocations: 0.988 MB / 0.4923 GB, free: 41.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3196, allocations: 0.8498 MB / 0.4931 GB, free: 41.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3197, allocations: 42.33 kB / 0.4932 GB, free: 41.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3197, allocations: 0 / 0.4932 GB, free: 41.23 MB / 378.7 MB Notification: Performance of Templates: time 0.007935/0.3277, allocations: 5.494 MB / 0.4986 GB, free: 40.67 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches