Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 113.6 kB / 17.08 MB, free: 6.016 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.001057/0.001057, 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.326/1.326, 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.1961/0.1961, allocations: 43.52 MB / 314.8 MB, free: 464 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: 67.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09841, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002566/0.101, allocations: 1.547 MB / 0.4901 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005681/0.1016, allocations: 323.4 kB / 0.4904 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.1017, allocations: 4 kB / 0.4904 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1019, allocations: 27.86 kB / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.102, allocations: 39.83 kB / 0.4904 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1023, allocations: 71.78 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1024, allocations: 55.89 kB / 0.4906 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.1025, allocations: 19.97 kB / 0.4906 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.1026, allocations: 19.88 kB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.1026, allocations: 15.86 kB / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1026, allocations: 4 kB / 0.4906 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.1027, allocations: 39.97 kB / 0.4906 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.1028, allocations: 11.94 kB / 0.4907 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.1028, allocations: 19.81 kB / 0.4907 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.103, allocations: 79.78 kB / 0.4908 GB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.103, allocations: 0 / 0.4908 GB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.103, allocations: 0 / 0.4908 GB, free: 9.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.103, allocations: 0 / 0.4908 GB, free: 9.52 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.0004106/0.1034, allocations: 395 kB / 0.4911 GB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1034, allocations: 11.89 kB / 0.4911 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1035, allocations: 8.844 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.1037, allocations: 191.6 kB / 0.4913 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.1037, allocations: 384 / 0.4913 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1037, allocations: 8.375 kB / 0.4913 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.1038, allocations: 49.8 kB / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1039, allocations: 0 / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1039, allocations: 8 kB / 0.4914 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1039, allocations: 0 / 0.4914 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.104, allocations: 19.98 kB / 0.4914 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.1043, allocations: 280.8 kB / 0.4917 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.1045, allocations: 38.56 kB / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.1046, allocations: 24.94 kB / 0.4917 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1046, allocations: 0 / 0.4917 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.1046, allocations: 30.56 kB / 0.4918 GB, free: 8.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.1046, allocations: 3.984 kB / 0.4918 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004954/0.1051, allocations: 137.3 kB / 0.4919 GB, free: 8.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1052, allocations: 51.41 kB / 0.492 GB, free: 8.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1053, allocations: 169.8 kB / 0.4921 GB, free: 7.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1053, allocations: 29.64 kB / 0.4921 GB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.1054, allocations: 100.1 kB / 0.4922 GB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1054, allocations: 15.81 kB / 0.4923 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1054, allocations: 13.72 kB / 0.4923 GB, free: 7.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.1056, allocations: 322.8 kB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.23e-05/0.1056, allocations: 23.92 kB / 0.4926 GB, free: 7.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.1057, allocations: 23.98 kB / 0.4926 GB, free: 7.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1058, allocations: 48.95 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1058, allocations: 0 / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001706/0.106, allocations: 81.58 kB / 0.4927 GB, free: 7.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.106, allocations: 4 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.106, allocations: 4 kB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1061, allocations: 0 / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.1061, allocations: 19.92 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1061, allocations: 0 / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.1062, allocations: 4 kB / 0.4928 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.1062, allocations: 0 / 0.4928 GB, free: 7.223 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.167e-05/0.1063, allocations: 129.7 kB / 0.4929 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.1063, allocations: 7.906 kB / 0.4929 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.1065, allocations: 89.97 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1066, allocations: 4 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1066, allocations: 0 / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1066, allocations: 0 / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.107, allocations: 350.3 kB / 0.4933 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.107, allocations: 4 kB / 0.4933 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.1071, allocations: 11.98 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1071, allocations: 0 / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.1071, allocations: 4 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1071, allocations: 11.92 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1071, allocations: 192 / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1073, allocations: 187.4 kB / 0.4935 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.1074, allocations: 77.11 kB / 0.4936 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1074, allocations: 0 / 0.4936 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.1074, allocations: 7.938 kB / 0.4936 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.1075, allocations: 11.98 kB / 0.4936 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1075, allocations: 0 / 0.4936 GB, free: 6.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.789e-05/0.1076, allocations: 130.7 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1076, allocations: 0 / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1078, allocations: 12 kB / 0.4938 GB, free: 6.098 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.0008837/0.1087, allocations: 412.7 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1089, allocations: 51.91 kB / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1089, allocations: 0 / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.109, allocations: 23.98 kB / 0.4942 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1093, allocations: 19.84 kB / 0.4943 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.1097, allocations: 219.7 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.11, allocations: 0.6885 MB / 0.4951 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.11, allocations: 23.42 kB / 0.4952 GB, free: 4.652 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.11, allocations: 0 / 0.4952 GB, free: 4.652 MB / 382.1 MB Notification: Performance of Templates: time 0.002873/0.1129, allocations: 1.407 MB / 0.4965 GB, free: 3.246 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches