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.001211/0.001211, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.332/1.332, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0008096/0.0008097, allocations: 100.7 kB / 271.2 MB, free: 8.23 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.3136/0.3136, allocations: 43.56 MB / 363.1 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004093, allocations: 16 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1076, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002284/0.11, allocations: 1.617 MB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1115, allocations: 0.9998 MB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1117, allocations: 4 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1119, allocations: 39.77 kB / 493.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.1123, allocations: 127.5 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1134, allocations: 0.5148 MB / 494.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.1138, allocations: 239.2 kB / 494.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.1139, allocations: 76.45 kB / 494.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.1142, allocations: 107.5 kB / 494.5 MB, free: 6.926 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.1144, allocations: 159.4 kB / 494.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.1144, allocations: 4 kB / 494.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-05/0.1145, allocations: 31.98 kB / 494.7 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.1147, allocations: 131.6 kB / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1148, allocations: 160.6 kB / 495 MB, free: 6.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1151, allocations: 263.6 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1151, allocations: 0 / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1151, allocations: 0 / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1151, allocations: 0 / 495.3 MB, free: 6.184 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.000841/0.116, allocations: 0.6805 MB / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.116, allocations: 12.03 kB / 496 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.54e-05/0.1161, allocations: 52.28 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.1166, allocations: 443.9 kB / 496.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1167, allocations: 4.375 kB / 496.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1167, allocations: 16.12 kB / 496.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.117, allocations: 151.3 kB / 496.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.117, allocations: 3.906 kB / 496.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.117, allocations: 8 kB / 496.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.117, allocations: 0 / 496.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.1173, allocations: 103.8 kB / 496.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.1181, allocations: 0.68 MB / 497.4 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.1183, allocations: 121.2 kB / 497.5 MB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1185, allocations: 49.81 kB / 497.6 MB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.1185, allocations: 7.984 kB / 497.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1185, allocations: 38.5 kB / 497.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1185, allocations: 4 kB / 497.6 MB, free: 3.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001371/0.1199, allocations: 0.565 MB / 498.2 MB, free: 3.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.12, allocations: 81.09 kB / 498.3 MB, free: 2.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008685/0.1208, allocations: 0.8545 MB / 499.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1209, allocations: 33.69 kB / 499.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1211, allocations: 244.3 kB / 499.4 MB, free: 1.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.1211, allocations: 55.2 kB / 499.4 MB, free: 1.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.1211, allocations: 0 / 499.4 MB, free: 1.762 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1213, allocations: 370.7 kB / 499.8 MB, free: 1.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.1214, allocations: 75.95 kB / 499.9 MB, free: 1.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.1216, allocations: 85.33 kB / 500 MB, free: 1.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.122, allocations: 181.7 kB / 0.4884 GB, free: 1.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.122, allocations: 0 / 0.4884 GB, free: 1.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004512/0.1224, allocations: 252.9 kB / 0.4887 GB, free: 0.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1225, allocations: 4.219 kB / 0.4887 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1225, allocations: 4 kB / 0.4887 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1225, allocations: 7.875 kB / 0.4887 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.1227, allocations: 48.16 kB / 0.4887 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1227, allocations: 3.984 kB / 0.4887 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1228, allocations: 19.94 kB / 0.4887 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1229, allocations: 7.984 kB / 0.4888 GB, free: 0.6992 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.0001898/0.1231, allocations: 213.7 kB / 0.489 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.1231, allocations: 59.25 kB / 0.489 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005904/0.1237, allocations: 302.2 kB / 0.4893 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1238, allocations: 4 kB / 0.4893 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1238, allocations: 0 / 0.4893 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1238, allocations: 0 / 0.4893 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1848/0.3086, allocations: 0.7975 MB / 0.4901 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3086, allocations: 0 / 0.4901 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.3088, allocations: 42.84 kB / 0.4901 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.3089, allocations: 1.906 kB / 0.4901 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3089, allocations: 6.859 kB / 0.4901 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3089, allocations: 5.188 kB / 0.4901 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3089, allocations: 2.469 kB / 0.4901 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.3095, allocations: 430.8 kB / 0.4906 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.3096, allocations: 145.6 kB / 0.4907 GB, free: 42.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.3097, allocations: 4.641 kB / 0.4907 GB, free: 42.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3099, allocations: 16.39 kB / 0.4907 GB, free: 42.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.31, allocations: 13.5 kB / 0.4907 GB, free: 42.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.31, allocations: 12.86 kB / 0.4907 GB, free: 42.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008489/0.3109, allocations: 0.6268 MB / 0.4913 GB, free: 42.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3109, allocations: 0 / 0.4913 GB, free: 42.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003759/0.3113, allocations: 53.41 kB / 0.4914 GB, free: 42.42 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.0008172/0.3121, allocations: 411.2 kB / 0.4918 GB, free: 42.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004546/0.3126, allocations: 172.1 kB / 0.492 GB, free: 42.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3126, allocations: 6.062 kB / 0.492 GB, free: 42.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.3128, allocations: 92.39 kB / 0.4921 GB, free: 42.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.3134, allocations: 74.42 kB / 0.4921 GB, free: 42.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.3149, allocations: 0.9811 MB / 0.4931 GB, free: 41.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3153, allocations: 0.8579 MB / 0.4939 GB, free: 41.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.3154, allocations: 41.55 kB / 0.494 GB, free: 41.11 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3154, allocations: 0 / 0.494 GB, free: 41.11 MB / 378.7 MB Notification: Performance of Templates: time 0.008704/0.3242, allocations: 5.482 MB / 0.4993 GB, free: 40.53 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