Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 117.7 kB / 17.08 MB, free: 5.961 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.001154/0.001154, allocations: 198.4 kB / 18.02 MB, free: 5.043 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.298/1.298, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1995/0.1995, allocations: 43.53 MB / 314.8 MB, free: 448 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.001514/0.001514, allocations: 69.62 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.106, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002754/0.1088, allocations: 1.547 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005811/0.1094, allocations: 319.5 kB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.1094, allocations: 8 kB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.1097, allocations: 75.77 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.11, allocations: 59.75 kB / 0.4905 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.1103, allocations: 75.78 kB / 0.4906 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1105, allocations: 67.88 kB / 0.4906 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.1106, allocations: 11.97 kB / 0.4906 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.183e-05/0.1107, allocations: 43.77 kB / 0.4907 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1108, allocations: 47.91 kB / 0.4907 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1108, allocations: 0 / 0.4907 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.104e-05/0.1109, allocations: 35.98 kB / 0.4908 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.111, allocations: 23.91 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.111, allocations: 23.75 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1112, allocations: 79.73 kB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1112, allocations: 0 / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1112, allocations: 0 / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1112, allocations: 0 / 0.4909 GB, free: 9.367 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.0004382/0.1117, allocations: 410.9 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1117, allocations: 15.89 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.1118, allocations: 8.844 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1119, allocations: 188.1 kB / 0.4915 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.1119, allocations: 4.375 kB / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.112, allocations: 384 / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1121, allocations: 57.8 kB / 0.4915 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1121, allocations: 0 / 0.4915 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1121, allocations: 0 / 0.4915 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1121, allocations: 4 kB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.1122, allocations: 23.92 kB / 0.4916 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.1126, allocations: 276.8 kB / 0.4918 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1128, allocations: 42.56 kB / 0.4919 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.1128, allocations: 16.94 kB / 0.4919 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1129, allocations: 11.94 kB / 0.4919 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.1129, allocations: 30.56 kB / 0.4919 GB, free: 8.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1129, allocations: 3.938 kB / 0.4919 GB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005301/0.1134, allocations: 141.5 kB / 0.4921 GB, free: 7.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1135, allocations: 55.41 kB / 0.4921 GB, free: 7.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1137, allocations: 206.2 kB / 0.4923 GB, free: 7.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1137, allocations: 25.7 kB / 0.4923 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.1137, allocations: 104.1 kB / 0.4924 GB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1138, allocations: 23.64 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1138, allocations: 21.7 kB / 0.4925 GB, free: 7.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.1139, allocations: 326.8 kB / 0.4928 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.114, allocations: 15.98 kB / 0.4928 GB, free: 7.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.1141, allocations: 19.98 kB / 0.4928 GB, free: 7.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1142, allocations: 44.84 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1142, allocations: 3.938 kB / 0.4929 GB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001746/0.1144, allocations: 85.55 kB / 0.493 GB, free: 7.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1144, allocations: 4 kB / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1144, allocations: 0 / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1144, allocations: 3.938 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.1145, allocations: 12 kB / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1145, allocations: 4 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.1145, allocations: 11.98 kB / 0.493 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1145, allocations: 0 / 0.493 GB, free: 6.984 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 8.405e-05/0.1146, allocations: 129.7 kB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1147, allocations: 11.91 kB / 0.4931 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.1149, allocations: 89.97 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1149, allocations: 4 kB / 0.4932 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1149, allocations: 0 / 0.4932 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1149, allocations: 4.25 kB / 0.4932 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.1153, allocations: 350.5 kB / 0.4936 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1153, allocations: 0 / 0.4936 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.1154, allocations: 16 kB / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1154, allocations: 0 / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1154, allocations: 0 / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1154, allocations: 7.922 kB / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1154, allocations: 7.938 kB / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1156, allocations: 179.3 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.1156, allocations: 85.02 kB / 0.4938 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1157, allocations: 0 / 0.4938 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.1157, allocations: 11.92 kB / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.1158, allocations: 0 / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1158, allocations: 8 kB / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1159, allocations: 164 kB / 0.494 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1159, allocations: 0 / 0.494 GB, free: 5.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1162, allocations: 20 kB / 0.494 GB, free: 5.809 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.000862/0.117, allocations: 399.5 kB / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1172, allocations: 47.91 kB / 0.4945 GB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1172, allocations: 4 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.1173, allocations: 27.97 kB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1176, allocations: 19.86 kB / 0.4945 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.118, allocations: 239.7 kB / 0.4947 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1183, allocations: 0.7041 MB / 0.4954 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1183, allocations: 11.44 kB / 0.4954 GB, free: 4.348 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1183, allocations: 7.938 kB / 0.4954 GB, free: 4.34 MB / 382.1 MB Notification: Performance of Templates: time 0.00296/0.1213, allocations: 1.497 MB / 0.4969 GB, free: 2.844 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches