Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002191/0.002192, allocations: 114.2 kB / 17.05 MB, free: 5.77 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.002769/0.002769, allocations: 192.5 kB / 17.98 MB, free: 4.973 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.838/1.838, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2266/0.2266, allocations: 43.52 MB / 314.7 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.001362/0.001362, allocations: 69.47 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09374, allocations: 57.8 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.00268/0.09646, allocations: 1.616 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.09773, allocations: 0.9651 MB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.0978, allocations: 4 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.098, allocations: 19.8 kB / 0.491 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.09819, allocations: 51.77 kB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.09854, allocations: 151.7 kB / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.09869, allocations: 63.84 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.09879, allocations: 27.95 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.09884, allocations: 23.86 kB / 0.4913 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.09897, allocations: 35.84 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.09899, allocations: 0 / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.09909, allocations: 51.97 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.09915, allocations: 19.94 kB / 0.4914 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.0992, allocations: 31.78 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.09937, allocations: 95.77 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.09939, allocations: 0 / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09939, allocations: 0 / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.0994, allocations: 0 / 0.4916 GB, free: 8.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004436/0.09985, allocations: 391.1 kB / 0.4919 GB, free: 8.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.09989, allocations: 11.89 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.09993, allocations: 8.844 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1001, allocations: 196.2 kB / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1001, allocations: 384 / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.1002, allocations: 8.375 kB / 0.4922 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1003, allocations: 75.52 kB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1004, allocations: 0 / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1004, allocations: 0 / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1004, allocations: 0 / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.1005, allocations: 47.95 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.1009, allocations: 308.6 kB / 0.4926 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1011, allocations: 42.56 kB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.047e-05/0.1012, allocations: 28.88 kB / 0.4926 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1012, allocations: 8 kB / 0.4926 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1012, allocations: 34.56 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1012, allocations: 0 / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007423/0.102, allocations: 217.6 kB / 0.4929 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.102, allocations: 81.11 kB / 0.493 GB, free: 7.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1021, allocations: 137.8 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1022, allocations: 25.7 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.1022, allocations: 104 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.1023, allocations: 15.72 kB / 0.4932 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.1023, allocations: 21.7 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.1024, allocations: 322.8 kB / 0.4936 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1025, allocations: 43.95 kB / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1027, allocations: 49.69 kB / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1029, allocations: 93.02 kB / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1029, allocations: 0 / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002818/0.1032, allocations: 125.5 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1032, allocations: 7.938 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.1032, allocations: 0 / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1032, allocations: 7.984 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1034, allocations: 19.92 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1034, allocations: 0 / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.1034, allocations: 19.86 kB / 0.4939 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.1035, allocations: 8 kB / 0.4939 GB, free: 6.008 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 (7): * Single equations (assignments): 7 * 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.698e-05/0.1035, allocations: 121.8 kB / 0.494 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1036, allocations: 7.906 kB / 0.494 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.1039, allocations: 137.9 kB / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1039, allocations: 0 / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1039, allocations: 0 / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1039, allocations: 11.92 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.1045, allocations: 398.5 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1045, allocations: 4 kB / 0.4946 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.1046, allocations: 15.98 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1046, allocations: 0 / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1046, allocations: 7.938 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1046, allocations: 3.938 kB / 0.4946 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1046, allocations: 4 kB / 0.4946 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.1049, allocations: 215.4 kB / 0.4948 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.105, allocations: 81.02 kB / 0.4949 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.105, allocations: 3.938 kB / 0.4949 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.1051, allocations: 19.98 kB / 0.4949 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1051, allocations: 7.984 kB / 0.4949 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1051, allocations: 7.938 kB / 0.4949 GB, free: 4.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.814e-05/0.1052, allocations: 103.3 kB / 0.495 GB, free: 4.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1052, allocations: 0 / 0.495 GB, free: 4.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1055, allocations: 28 kB / 0.495 GB, free: 4.742 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 (7): * Single equations (assignments): 7 * 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.0009262/0.1064, allocations: 449.4 kB / 0.4955 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.1067, allocations: 87.88 kB / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1067, allocations: 0 / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1069, allocations: 43.97 kB / 0.4956 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1072, allocations: 35.77 kB / 0.4956 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.1076, allocations: 212.1 kB / 0.4958 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1078, allocations: 0.6963 MB / 0.4965 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.1079, allocations: 19.42 kB / 0.4965 GB, free: 3.191 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1079, allocations: 0 / 0.4965 GB, free: 3.191 MB / 382.1 MB Notification: Performance of Templates: time 0.003278/0.1112, allocations: 1.793 MB / 0.4983 GB, free: 1.402 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches