Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 113 kB / 17.08 MB, free: 6.012 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.001673/0.001673, allocations: 198.3 kB / 18.01 MB, free: 5.094 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.321/1.321, 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.1998/0.1998, allocations: 43.52 MB / 314.8 MB, free: 460 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.001419/0.00142, allocations: 67.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1014, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003013/0.1044, allocations: 1.659 MB / 0.4902 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007326/0.1052, allocations: 383.4 kB / 0.4905 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.1052, allocations: 4 kB / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1055, allocations: 19.8 kB / 0.4906 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1057, allocations: 51.7 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.1061, allocations: 155.6 kB / 0.4908 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1063, allocations: 83.83 kB / 0.4908 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1064, allocations: 28.19 kB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.1065, allocations: 27.86 kB / 0.4909 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.1066, allocations: 43.78 kB / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1066, allocations: 8 kB / 0.4909 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1068, allocations: 59.91 kB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.1068, allocations: 19.97 kB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.1069, allocations: 27.81 kB / 0.491 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.1071, allocations: 119.7 kB / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1071, allocations: 0 / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1071, allocations: 0 / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1071, allocations: 0 / 0.4912 GB, free: 9.102 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000607/0.1078, allocations: 426.9 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1078, allocations: 8.031 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.1078, allocations: 8.844 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.108, allocations: 196.2 kB / 0.4918 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-06/0.1081, allocations: 384 / 0.4918 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.1081, allocations: 8.375 kB / 0.4918 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.1084, allocations: 91.48 kB / 0.4919 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1084, allocations: 4 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1084, allocations: 7.938 kB / 0.4919 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1085, allocations: 4 kB / 0.4919 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.1088, allocations: 71.91 kB / 0.4919 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.1093, allocations: 336.7 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.1096, allocations: 74.47 kB / 0.4923 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.1098, allocations: 40.94 kB / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1098, allocations: 8 kB / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1098, allocations: 34.56 kB / 0.4924 GB, free: 7.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.835e-06/0.1098, allocations: 3.984 kB / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001617/0.1115, allocations: 381 kB / 0.4928 GB, free: 7.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1115, allocations: 85.11 kB / 0.4929 GB, free: 7.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1117, allocations: 145.6 kB / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1117, allocations: 29.7 kB / 0.493 GB, free: 6.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1118, allocations: 100 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.1118, allocations: 23.58 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.1118, allocations: 25.72 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.112, allocations: 326.8 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.1123, allocations: 67.92 kB / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.1126, allocations: 93.69 kB / 0.4936 GB, free: 6.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.1131, allocations: 160.7 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1132, allocations: 0 / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006326/0.1138, allocations: 197.4 kB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1138, allocations: 10.59 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1138, allocations: 4 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1138, allocations: 0 / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.1141, allocations: 35.95 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1141, allocations: 0 / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.1142, allocations: 28.28 kB / 0.4941 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.1142, allocations: 8 kB / 0.4941 GB, free: 5.879 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 (8): * Single equations (assignments): 8 * 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 9.493e-05/0.1143, allocations: 125.7 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1144, allocations: 7.906 kB / 0.4942 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006755/0.1151, allocations: 214.1 kB / 0.4944 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1151, allocations: 4 kB / 0.4944 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1151, allocations: 3.984 kB / 0.4944 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1151, allocations: 3.938 kB / 0.4944 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008976/0.116, allocations: 490.3 kB / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.116, allocations: 0 / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.1162, allocations: 35.95 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1162, allocations: 0 / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1162, allocations: 7.938 kB / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1162, allocations: 4 kB / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1162, allocations: 0 / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.1169, allocations: 291.6 kB / 0.4952 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.117, allocations: 85.02 kB / 0.4953 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.117, allocations: 7.938 kB / 0.4953 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.1172, allocations: 23.95 kB / 0.4953 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.1172, allocations: 11.98 kB / 0.4953 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1173, allocations: 4 kB / 0.4953 GB, free: 4.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.747e-05/0.1174, allocations: 103.3 kB / 0.4954 GB, free: 4.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1174, allocations: 0 / 0.4954 GB, free: 4.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.1177, allocations: 39.98 kB / 0.4955 GB, free: 4.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 (8): * Single equations (assignments): 8 * 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.001025/0.1187, allocations: 460.8 kB / 0.4959 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006518/0.1193, allocations: 167.8 kB / 0.4961 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1194, allocations: 3.938 kB / 0.4961 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.1197, allocations: 83.92 kB / 0.4962 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.12, allocations: 31.22 kB / 0.4962 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.1205, allocations: 231.7 kB / 0.4964 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1208, allocations: 0.6963 MB / 0.4971 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.1209, allocations: 15.44 kB / 0.4971 GB, free: 2.648 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1209, allocations: 4 kB / 0.4971 GB, free: 2.645 MB / 382.1 MB Notification: Performance of Templates: time 0.004101/0.125, allocations: 2.206 MB / 0.4993 GB, free: 452 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches