Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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 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 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 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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 115.1 kB / 17.08 MB, free: 6.016 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.001051/0.001051, allocations: 197.3 kB / 18.01 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1999/0.1999, allocations: 43.51 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 71.89 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09762, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003581/0.1012, allocations: 2.033 MB / 0.4905 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.103, allocations: 0.9794 MB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.1032, allocations: 0 / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1034, allocations: 51.58 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.1039, allocations: 147.3 kB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.1048, allocations: 399.2 kB / 0.4921 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.1053, allocations: 283.1 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.1054, allocations: 72.55 kB / 0.4924 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.1057, allocations: 131.5 kB / 0.4925 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.106, allocations: 187.3 kB / 0.4927 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.106, allocations: 12 kB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1062, allocations: 51.97 kB / 0.4928 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1063, allocations: 131.6 kB / 0.4929 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1065, allocations: 166.7 kB / 0.493 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.1069, allocations: 374.5 kB / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1069, allocations: 0 / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1069, allocations: 0 / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1069, allocations: 0 / 0.4934 GB, free: 6.793 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.001022/0.1079, allocations: 0.7618 MB / 0.4941 GB, free: 5.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.108, allocations: 15.89 kB / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1081, allocations: 52.28 kB / 0.4942 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.1086, allocations: 439.9 kB / 0.4946 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1087, allocations: 8.375 kB / 0.4946 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1087, allocations: 20.12 kB / 0.4947 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.109, allocations: 147.1 kB / 0.4948 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1091, allocations: 3.906 kB / 0.4948 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1091, allocations: 12 kB / 0.4948 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1091, allocations: 0 / 0.4948 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.1094, allocations: 99.86 kB / 0.4949 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.1103, allocations: 0.6566 MB / 0.4956 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.1106, allocations: 129.2 kB / 0.4957 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1107, allocations: 61.75 kB / 0.4957 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1108, allocations: 7.984 kB / 0.4957 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1108, allocations: 34.56 kB / 0.4958 GB, free: 4.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.1108, allocations: 0 / 0.4958 GB, free: 4.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001977/0.1128, allocations: 0.658 MB / 0.4964 GB, free: 3.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1129, allocations: 81.11 kB / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009036/0.1138, allocations: 0.8504 MB / 0.4973 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1138, allocations: 29.7 kB / 0.4974 GB, free: 2.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.114, allocations: 244.4 kB / 0.4976 GB, free: 2.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.1141, allocations: 71 kB / 0.4977 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.1141, allocations: 45.91 kB / 0.4977 GB, free: 2.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1143, allocations: 366.7 kB / 0.498 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.1146, allocations: 95.86 kB / 0.4981 GB, free: 1.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.1148, allocations: 105.7 kB / 0.4982 GB, free: 1.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.1154, allocations: 209.7 kB / 0.4984 GB, free: 1.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1154, allocations: 0 / 0.4984 GB, free: 1.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006718/0.1161, allocations: 300.7 kB / 0.4987 GB, free: 1.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1161, allocations: 8 kB / 0.4987 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1161, allocations: 0 / 0.4987 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1161, allocations: 0 / 0.4987 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.1164, allocations: 59.94 kB / 0.4988 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1164, allocations: 0 / 0.4988 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.1166, allocations: 27.86 kB / 0.4988 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.1167, allocations: 7.984 kB / 0.4988 GB, free: 0.9609 MB / 382.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 (20): * Single equations (assignments): 20 * 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.0002204/0.1169, allocations: 213.7 kB / 0.499 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.117, allocations: 51.34 kB / 0.4991 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007831/0.1178, allocations: 354.4 kB / 0.4994 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1178, allocations: 0 / 0.4994 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1178, allocations: 0 / 0.4994 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.1178, allocations: 7.984 kB / 0.4994 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.1192, allocations: 0.8687 MB / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1192, allocations: 0 / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1194, allocations: 55.89 kB / 0.5003 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1194, allocations: 0 / 0.5003 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1195, allocations: 12 kB / 0.5003 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1195, allocations: 3.938 kB / 0.5003 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1195, allocations: 0 / 0.5003 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007267/0.1202, allocations: 478 kB / 0.5008 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1204, allocations: 132.4 kB / 0.5009 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.1204, allocations: 11.98 kB / 0.5009 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.1207, allocations: 19.92 kB / 0.501 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.1207, allocations: 19.97 kB / 0.501 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1208, allocations: 4 kB / 0.501 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006493/0.1214, allocations: 0.6198 MB / 0.5016 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1214, allocations: 11.94 kB / 0.5016 GB, free: 14.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.1218, allocations: 56 kB / 0.5016 GB, free: 13.96 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000933/0.1227, allocations: 411.9 kB / 0.502 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.1234, allocations: 227.7 kB / 0.5023 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1234, allocations: 0 / 0.5023 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.1237, allocations: 123.9 kB / 0.5024 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.1244, allocations: 70.25 kB / 0.5024 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1258, allocations: 0.9251 MB / 0.5033 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.1263, allocations: 0.8499 MB / 0.5042 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.1264, allocations: 47.41 kB / 0.5042 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1264, allocations: 4 kB / 0.5042 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Templates: time 0.009122/0.1356, allocations: 5.753 MB / 0.5098 GB, free: 5.535 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches