Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test23,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.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.CombiTable1D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 111 kB / 17.08 MB, free: 5.969 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.001297/0.001297, allocations: 194.9 kB / 18.01 MB, free: 5.055 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.374/1.374, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2026/0.2026, allocations: 43.53 MB / 314.8 MB, free: 456 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.001597/0.001597, allocations: 73.45 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1023, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002964/0.1053, allocations: 1.547 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1066, allocations: 0.9456 MB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.1067, allocations: 7.938 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.107, allocations: 27.84 kB / 0.491 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1072, allocations: 43.83 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1075, allocations: 91.75 kB / 0.4911 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1076, allocations: 55.89 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.1077, allocations: 19.92 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.1078, allocations: 19.92 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1079, allocations: 31.84 kB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1079, allocations: 3.938 kB / 0.4913 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1081, allocations: 51.98 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.1081, allocations: 7.984 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.1082, allocations: 23.86 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1083, allocations: 83.78 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1084, allocations: 0 / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1084, allocations: 0 / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1084, allocations: 4 kB / 0.4914 GB, free: 8.812 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.0004584/0.1088, allocations: 387.1 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1089, allocations: 11.89 kB / 0.4918 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.1089, allocations: 4.938 kB / 0.4918 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1091, allocations: 188.2 kB / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1091, allocations: 384 / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1092, allocations: 4.375 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1093, allocations: 67.53 kB / 0.4921 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1094, allocations: 7.984 kB / 0.4921 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1094, allocations: 0 / 0.4921 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1094, allocations: 0 / 0.4921 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.1095, allocations: 27.91 kB / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1099, allocations: 280.9 kB / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1101, allocations: 50.55 kB / 0.4924 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.1101, allocations: 12.86 kB / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1102, allocations: 0 / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1102, allocations: 46.5 kB / 0.4925 GB, free: 7.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1102, allocations: 0 / 0.4925 GB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005308/0.1107, allocations: 137.5 kB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.1108, allocations: 93.05 kB / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1109, allocations: 125.8 kB / 0.4928 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.111, allocations: 29.7 kB / 0.4928 GB, free: 7.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.111, allocations: 96.03 kB / 0.4929 GB, free: 7.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.111, allocations: 15.81 kB / 0.4929 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.1111, allocations: 13.72 kB / 0.493 GB, free: 7.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1112, allocations: 322.8 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.1113, allocations: 27.92 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.1114, allocations: 41.64 kB / 0.4933 GB, free: 6.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1115, allocations: 44.83 kB / 0.4934 GB, free: 6.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1115, allocations: 0 / 0.4934 GB, free: 6.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.1117, allocations: 93.5 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1117, allocations: 4.031 kB / 0.4935 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1117, allocations: 4 kB / 0.4935 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1118, allocations: 0 / 0.4935 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.1118, allocations: 15.98 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1118, allocations: 0 / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.1119, allocations: 4 kB / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1119, allocations: 4 kB / 0.4935 GB, free: 6.453 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.903e-05/0.112, allocations: 129.6 kB / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.112, allocations: 4 kB / 0.4936 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.1123, allocations: 105.5 kB / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1123, allocations: 320 / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1123, allocations: 4 kB / 0.4937 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1123, allocations: 0 / 0.4937 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1127, allocations: 350.5 kB / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.1127, allocations: 7.984 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/0.1128, allocations: 12 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1128, allocations: 0 / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1128, allocations: 0 / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1128, allocations: 3.938 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1128, allocations: 3.938 kB / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1131, allocations: 175.5 kB / 0.4943 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.1131, allocations: 85.02 kB / 0.4943 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1132, allocations: 4 kB / 0.4943 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.1132, allocations: 15.92 kB / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.1133, allocations: 0 / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.1133, allocations: 4 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.424e-05/0.1134, allocations: 111.8 kB / 0.4945 GB, free: 5.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1134, allocations: 0 / 0.4945 GB, free: 5.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1136, allocations: 20 kB / 0.4945 GB, free: 5.328 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.0009522/0.1146, allocations: 442.7 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1148, allocations: 59.83 kB / 0.495 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1148, allocations: 4 kB / 0.495 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.1149, allocations: 23.98 kB / 0.495 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1152, allocations: 23.78 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.1156, allocations: 191.1 kB / 0.4952 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1159, allocations: 0.6923 MB / 0.4959 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.1159, allocations: 19.42 kB / 0.4959 GB, free: 3.871 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1159, allocations: 0 / 0.4959 GB, free: 3.871 MB / 382.1 MB Notification: Performance of Templates: time 0.003323/0.1193, allocations: 1.575 MB / 0.4974 GB, free: 2.301 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches