Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 116.2 kB / 17.08 MB, free: 6.008 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.001758/0.001758, allocations: 197.3 kB / 18.01 MB, free: 5.086 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.356/1.356, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2001/0.2001, allocations: 43.52 MB / 314.8 MB, free: 468 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.001418/0.001418, allocations: 71.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09937, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002656/0.1021, allocations: 1.554 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005278/0.1026, allocations: 311.6 kB / 0.4904 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.1027, allocations: 0 / 0.4904 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.1032, allocations: 451.2 kB / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.1035, allocations: 259.4 kB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.1037, allocations: 99.8 kB / 0.4911 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1039, allocations: 159.6 kB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.104, allocations: 11.98 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.1041, allocations: 107.8 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1043, allocations: 199.7 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1044, allocations: 7.938 kB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.1044, allocations: 16 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.1045, allocations: 83.69 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.1046, allocations: 99 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1049, allocations: 243 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1049, allocations: 4 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.1049, allocations: 4 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1049, allocations: 0 / 0.492 GB, free: 8.211 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006277/0.1055, allocations: 0.6219 MB / 0.4926 GB, free: 7.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1056, allocations: 11.89 kB / 0.4927 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.1056, allocations: 40.47 kB / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1059, allocations: 296.1 kB / 0.493 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.1059, allocations: 384 / 0.493 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.1059, allocations: 384 / 0.493 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.106, allocations: 53.81 kB / 0.493 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1061, allocations: 0 / 0.493 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1061, allocations: 4 kB / 0.493 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1061, allocations: 0 / 0.493 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.1062, allocations: 23.98 kB / 0.4931 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.1066, allocations: 376.7 kB / 0.4934 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.78e-05/0.1067, allocations: 34.56 kB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.1067, allocations: 16.91 kB / 0.4935 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.1068, allocations: 0 / 0.4935 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1068, allocations: 30.56 kB / 0.4935 GB, free: 6.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1068, allocations: 0 / 0.4935 GB, free: 6.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002519/0.1071, allocations: 105 kB / 0.4936 GB, free: 6.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.1071, allocations: 55.53 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.1079, allocations: 0.8535 MB / 0.4945 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1079, allocations: 25.7 kB / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.108, allocations: 220 kB / 0.4947 GB, free: 5.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1081, allocations: 11.89 kB / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.1081, allocations: 13.66 kB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1082, allocations: 362.7 kB / 0.4951 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.1083, allocations: 11.98 kB / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.1083, allocations: 8 kB / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.273e-05/0.1084, allocations: 24.84 kB / 0.4951 GB, free: 4.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1084, allocations: 0 / 0.4951 GB, free: 4.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001442/0.1086, allocations: 89.16 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1086, allocations: 4 kB / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1086, allocations: 0 / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1086, allocations: 0 / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.1087, allocations: 12.08 kB / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1087, allocations: 0 / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.1088, allocations: 11.84 kB / 0.4952 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.1088, allocations: 0 / 0.4952 GB, free: 4.695 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 (2): * Single equations (assignments): 2 * 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.0001679/0.1089, allocations: 221.6 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.109, allocations: 39.53 kB / 0.4955 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.1092, allocations: 96.64 kB / 0.4956 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1092, allocations: 7.969 kB / 0.4956 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1092, allocations: 0 / 0.4956 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1092, allocations: 0 / 0.4956 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.1095, allocations: 285.5 kB / 0.4959 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1095, allocations: 0 / 0.4959 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.1095, allocations: 8 kB / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1095, allocations: 0 / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1095, allocations: 0 / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1095, allocations: 0 / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1095, allocations: 0 / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.1097, allocations: 190.9 kB / 0.496 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.1098, allocations: 104.6 kB / 0.4961 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1098, allocations: 4 kB / 0.4961 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.1099, allocations: 0 / 0.4961 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.1099, allocations: 4 kB / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.1099, allocations: 8 kB / 0.4962 GB, free: 3.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005585/0.1105, allocations: 0.6433 MB / 0.4968 GB, free: 3.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1105, allocations: 7.969 kB / 0.4968 GB, free: 2.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1108, allocations: 20 kB / 0.4968 GB, free: 2.977 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 (2): * Single equations (assignments): 2 * 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.0007508/0.1115, allocations: 351.6 kB / 0.4972 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.1117, allocations: 27.97 kB / 0.4972 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1117, allocations: 4 kB / 0.4972 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.1117, allocations: 4 kB / 0.4972 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1121, allocations: 29.81 kB / 0.4972 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.113, allocations: 0.7886 MB / 0.498 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.1134, allocations: 0.8181 MB / 0.4988 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.1134, allocations: 15.44 kB / 0.4988 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1134, allocations: 0 / 0.4988 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of Templates: time 0.006002/0.1194, allocations: 3.472 MB / 0.5022 GB, free: 13.44 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches