Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 107.7 kB / 16.41 MB, free: 6.492 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.00156/0.00156, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.584/1.584, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2034/0.2034, allocations: 43.53 MB / 314.1 MB, free: 444 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.00147/0.00147, allocations: 63.91 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003581/0.1089, allocations: 1.6 MB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007275/0.1097, allocations: 323.6 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.143e-05/0.1098, allocations: 3.938 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.1105, allocations: 455.1 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.111, allocations: 255.4 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.1114, allocations: 103.8 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.1117, allocations: 163.6 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1118, allocations: 20.17 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1119, allocations: 103.8 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.1122, allocations: 203.6 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1122, allocations: 4 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1123, allocations: 39.92 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1124, allocations: 87.67 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1126, allocations: 95 kB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.1129, allocations: 251 kB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1129, allocations: 0 / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1129, allocations: 0 / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.113, allocations: 4 kB / 0.4915 GB, free: 8.094 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007881/0.1138, allocations: 0.6258 MB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1138, allocations: 11.89 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.099e-05/0.1139, allocations: 44.45 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1142, allocations: 300.1 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1142, allocations: 4.375 kB / 0.4924 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1142, allocations: 4.375 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1144, allocations: 53.62 kB / 0.4925 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1144, allocations: 0 / 0.4925 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1145, allocations: 0 / 0.4925 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1145, allocations: 4 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1146, allocations: 23.97 kB / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.1151, allocations: 384.6 kB / 0.4929 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.1153, allocations: 50.55 kB / 0.4929 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.1153, allocations: 12.86 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1154, allocations: 0 / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1154, allocations: 34.56 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1154, allocations: 0 / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005907/0.116, allocations: 228 kB / 0.4932 GB, free: 6.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1161, allocations: 55.39 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008109/0.1169, allocations: 0.8574 MB / 0.4941 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1169, allocations: 29.64 kB / 0.4941 GB, free: 5.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1171, allocations: 216.1 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1171, allocations: 19.73 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1171, allocations: 21.66 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1173, allocations: 362.8 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.1174, allocations: 19.98 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.1174, allocations: 19.92 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1176, allocations: 49.02 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1176, allocations: 4 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002119/0.1178, allocations: 113.1 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1178, allocations: 7.125 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1178, allocations: 0 / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1179, allocations: 7.984 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.1179, allocations: 11.94 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1179, allocations: 3.984 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.118, allocations: 15.92 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.118, allocations: 0 / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.000174/0.1182, allocations: 213.7 kB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.1183, allocations: 43.53 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.1185, allocations: 137 kB / 0.4953 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1185, allocations: 0 / 0.4953 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1185, allocations: 4 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1186, allocations: 3.938 kB / 0.4953 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.119, allocations: 450.4 kB / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1191, allocations: 4 kB / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.1191, allocations: 15.98 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1191, allocations: 0 / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1191, allocations: 3.938 kB / 0.4958 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1191, allocations: 192 / 0.4958 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1191, allocations: 4 kB / 0.4958 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1194, allocations: 211 kB / 0.496 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.1195, allocations: 108.8 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1195, allocations: 11.92 kB / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.1196, allocations: 4 kB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1196, allocations: 7.984 kB / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1196, allocations: 0 / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005526/0.1202, allocations: 0.6511 MB / 0.4967 GB, free: 2.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1202, allocations: 0 / 0.4967 GB, free: 2.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1205, allocations: 20 kB / 0.4968 GB, free: 2.336 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0008475/0.1213, allocations: 413.1 kB / 0.4972 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1215, allocations: 47.91 kB / 0.4972 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1215, allocations: 4 kB / 0.4972 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.1216, allocations: 19.98 kB / 0.4972 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.122, allocations: 29.81 kB / 0.4973 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009671/0.123, allocations: 0.7716 MB / 0.498 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.1234, allocations: 0.8299 MB / 0.4988 GB, free: 212 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.323e-05/0.1235, allocations: 4 kB / 0.4988 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.1235, allocations: 11.44 kB / 0.4988 GB, free: 196 kB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1235, allocations: 0 / 0.4988 GB, free: 196 kB / 382.1 MB Notification: Performance of Templates: time 0.004574/0.1281, allocations: 1.459 MB / 0.5003 GB, free: 14.73 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches