Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 176.1 kB / 16.72 MB, free: 5.082 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: 9.023 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.0007038/0.0007038, allocations: 82.38 kB / 271.2 MB, free: 8.25 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.3074/0.3074, allocations: 43.57 MB / 363.1 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1057, allocations: 58.84 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002112/0.1079, allocations: 1.679 MB / 492.5 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1092, allocations: 1.023 MB / 493.5 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.1093, allocations: 4 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.1095, allocations: 47.69 kB / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1098, allocations: 123.5 kB / 493.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1108, allocations: 0.5304 MB / 494.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.1111, allocations: 255.1 kB / 494.5 MB, free: 7.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1113, allocations: 84.44 kB / 494.6 MB, free: 7.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1115, allocations: 111.5 kB / 494.7 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1117, allocations: 171.3 kB / 494.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.1117, allocations: 8 kB / 494.8 MB, free: 6.863 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-05/0.1118, allocations: 27.98 kB / 494.9 MB, free: 6.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.112, allocations: 135.6 kB / 495 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1121, allocations: 176.5 kB / 495.2 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1124, allocations: 271.5 kB / 495.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1124, allocations: 0 / 495.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1124, allocations: 0 / 495.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1124, allocations: 4 kB / 495.4 MB, free: 6.254 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.000864/0.1133, allocations: 0.7038 MB / 496.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1133, allocations: 12.03 kB / 496.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.1134, allocations: 56.19 kB / 496.2 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.1139, allocations: 447.9 kB / 496.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1139, allocations: 12.38 kB / 496.7 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.114, allocations: 8.125 kB / 496.7 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1143, allocations: 171.2 kB / 496.8 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1143, allocations: 4 kB / 496.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1143, allocations: 4 kB / 496.8 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1143, allocations: 8 kB / 496.8 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.1146, allocations: 131.9 kB / 497 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/0.1156, allocations: 0.7073 MB / 497.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.1159, allocations: 149.1 kB / 497.8 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.116, allocations: 73.81 kB / 497.9 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1161, allocations: 7.984 kB / 497.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1161, allocations: 42.48 kB / 498 MB, free: 3.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.1161, allocations: 0 / 498 MB, free: 3.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001958/0.1181, allocations: 0.8103 MB / 498.8 MB, free: 2.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.1182, allocations: 81.11 kB / 498.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/0.119, allocations: 0.8506 MB / 499.7 MB, free: 1.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.119, allocations: 25.7 kB / 499.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.1192, allocations: 260.2 kB / 500 MB, free: 1.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.1193, allocations: 63.09 kB / 0.4883 GB, free: 1.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.1193, allocations: 7.938 kB / 0.4883 GB, free: 1.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1194, allocations: 374.7 kB / 0.4887 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.1197, allocations: 127.9 kB / 0.4888 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.12, allocations: 141.6 kB / 0.4889 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.1206, allocations: 289.6 kB / 0.4892 GB, free: 484 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1206, allocations: 0 / 0.4892 GB, free: 484 kB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006656/0.1212, allocations: 368.7 kB / 0.4896 GB, free: 108 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1213, allocations: 11.59 kB / 0.4896 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1213, allocations: 3.984 kB / 0.4896 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1213, allocations: 0 / 0.4896 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.1216, allocations: 68.64 kB / 0.4896 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1216, allocations: 0 / 0.4896 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.1218, allocations: 27.98 kB / 0.4897 GB, free: 0 / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.18/0.3018, allocations: 5.5 kB / 0.4897 GB, free: 43.11 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 (20): * Single equations (assignments): 20 * 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.0002572/0.3021, allocations: 220.6 kB / 0.4899 GB, free: 42.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3022, allocations: 51.06 kB / 0.4899 GB, free: 42.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008674/0.3031, allocations: 429.9 kB / 0.4903 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3031, allocations: 6.031 kB / 0.4904 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3031, allocations: 4.594 kB / 0.4904 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3031, allocations: 4.875 kB / 0.4904 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.3045, allocations: 0.9597 MB / 0.4913 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3045, allocations: 0 / 0.4913 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.3048, allocations: 66.52 kB / 0.4914 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3048, allocations: 1.438 kB / 0.4914 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.3048, allocations: 6.578 kB / 0.4914 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3048, allocations: 1.281 kB / 0.4914 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3048, allocations: 3.297 kB / 0.4914 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.3055, allocations: 0.5434 MB / 0.4919 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3057, allocations: 145.1 kB / 0.492 GB, free: 42.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.3057, allocations: 7.938 kB / 0.492 GB, free: 42.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3059, allocations: 24.09 kB / 0.4921 GB, free: 42.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.306, allocations: 22.88 kB / 0.4921 GB, free: 42.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.306, allocations: 6.359 kB / 0.4921 GB, free: 42.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007147/0.3068, allocations: 0.6236 MB / 0.4927 GB, free: 42.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3068, allocations: 0 / 0.4927 GB, free: 42.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.3072, allocations: 60.7 kB / 0.4928 GB, free: 42.2 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 (20): * Single equations (assignments): 20 * 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.0008029/0.308, allocations: 421.6 kB / 0.4932 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007141/0.3087, allocations: 291.7 kB / 0.4934 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3087, allocations: 0 / 0.4934 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.309, allocations: 162.6 kB / 0.4936 GB, free: 41.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.3096, allocations: 70.45 kB / 0.4937 GB, free: 41.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3109, allocations: 1.075 MB / 0.4947 GB, free: 41.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3112, allocations: 0.8605 MB / 0.4956 GB, free: 40.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3114, allocations: 47.33 kB / 0.4956 GB, free: 40.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3114, allocations: 4 kB / 0.4956 GB, free: 40.8 MB / 378.7 MB Notification: Performance of Templates: time 0.007915/0.3193, allocations: 5.98 MB / 0.5014 GB, free: 40.19 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches