Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 117.6 kB / 17.08 MB, free: 5.953 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.001136/0.001136, allocations: 198.9 kB / 18.02 MB, free: 5.035 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.346/1.346, 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.2027/0.2027, allocations: 43.54 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.001412/0.001412, allocations: 69.89 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.1008, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002691/0.1035, allocations: 1.543 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005686/0.1041, allocations: 323.5 kB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.1041, allocations: 4 kB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1044, allocations: 91.73 kB / 0.4905 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1046, allocations: 67.78 kB / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.1049, allocations: 75.8 kB / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.105, allocations: 71.86 kB / 0.4907 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.1051, allocations: 15.92 kB / 0.4907 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/0.1052, allocations: 35.84 kB / 0.4907 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1053, allocations: 47.88 kB / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1053, allocations: 4 kB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.1054, allocations: 24 kB / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.1054, allocations: 23.86 kB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.1055, allocations: 35.73 kB / 0.4908 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1056, allocations: 83.72 kB / 0.4909 GB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1056, allocations: 4 kB / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1057, allocations: 0 / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1057, allocations: 0 / 0.4909 GB, free: 9.332 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.0004383/0.1061, allocations: 410.9 kB / 0.4913 GB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1061, allocations: 19.88 kB / 0.4913 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.1062, allocations: 8.844 kB / 0.4913 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.1063, allocations: 200.7 kB / 0.4915 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.1064, allocations: 8.312 kB / 0.4915 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1064, allocations: 384 / 0.4915 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1065, allocations: 61.8 kB / 0.4916 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1065, allocations: 0 / 0.4916 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1065, allocations: 0 / 0.4916 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1065, allocations: 0 / 0.4916 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.338e-05/0.1066, allocations: 19.98 kB / 0.4916 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.107, allocations: 280.9 kB / 0.4919 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1072, allocations: 46.5 kB / 0.4919 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.1073, allocations: 16.94 kB / 0.492 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1073, allocations: 0 / 0.492 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1073, allocations: 38.56 kB / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1073, allocations: 0 / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005422/0.1079, allocations: 145.2 kB / 0.4921 GB, free: 7.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1079, allocations: 55.41 kB / 0.4922 GB, free: 7.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1081, allocations: 219.6 kB / 0.4924 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1081, allocations: 29.7 kB / 0.4924 GB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.1082, allocations: 112 kB / 0.4925 GB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1082, allocations: 11.81 kB / 0.4925 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.1082, allocations: 17.72 kB / 0.4926 GB, free: 7.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.1083, allocations: 330.8 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.1084, allocations: 23.92 kB / 0.4929 GB, free: 7.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.1085, allocations: 15.98 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1086, allocations: 48.77 kB / 0.493 GB, free: 7.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1086, allocations: 0 / 0.493 GB, free: 7.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001659/0.1088, allocations: 77.58 kB / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1088, allocations: 12 kB / 0.493 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1089, allocations: 3.938 kB / 0.493 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1089, allocations: 3.984 kB / 0.493 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.1089, allocations: 8 kB / 0.4931 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.109, allocations: 4 kB / 0.4931 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.109, allocations: 3.984 kB / 0.4931 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.109, allocations: 8 kB / 0.4931 GB, free: 6.914 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.281e-05/0.1091, allocations: 137.6 kB / 0.4932 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1091, allocations: 16.09 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.1094, allocations: 90.66 kB / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1094, allocations: 3.984 kB / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1094, allocations: 320 / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1094, allocations: 4 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.1098, allocations: 362.4 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1098, allocations: 0 / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.1099, allocations: 12 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1099, allocations: 0 / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.1099, allocations: 7.984 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1099, allocations: 3.938 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1099, allocations: 3.984 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.1101, allocations: 171.4 kB / 0.4938 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.1102, allocations: 85.02 kB / 0.4939 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1102, allocations: 7.938 kB / 0.4939 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.1103, allocations: 11.92 kB / 0.4939 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.1103, allocations: 4 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1103, allocations: 4 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.1105, allocations: 171.2 kB / 0.4941 GB, free: 5.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1105, allocations: 0 / 0.4941 GB, free: 5.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.1107, allocations: 15.91 kB / 0.4941 GB, free: 5.715 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.000875/0.1116, allocations: 407.5 kB / 0.4945 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1118, allocations: 43.97 kB / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1118, allocations: 0 / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.1119, allocations: 27.92 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1122, allocations: 27.72 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.1126, allocations: 252.1 kB / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1129, allocations: 0.7041 MB / 0.4955 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1129, allocations: 15.44 kB / 0.4956 GB, free: 4.227 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1129, allocations: 0 / 0.4956 GB, free: 4.227 MB / 382.1 MB Notification: Performance of Templates: time 0.003088/0.116, allocations: 1.528 MB / 0.4971 GB, free: 2.699 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches