Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 116.4 kB / 17.08 MB, free: 5.992 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.001673/0.001673, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.398/1.398, 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.1951/0.1951, allocations: 43.53 MB / 314.8 MB, free: 452 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.00146/0.00146, allocations: 73.45 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 57.78 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002941/0.1047, allocations: 1.574 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000633/0.1054, allocations: 331.5 kB / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.1055, allocations: 0 / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1058, allocations: 99.67 kB / 0.4905 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.106, allocations: 75.78 kB / 0.4906 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1063, allocations: 87.77 kB / 0.4906 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1065, allocations: 87.8 kB / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.1066, allocations: 24.16 kB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.215e-05/0.1067, allocations: 39.89 kB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1068, allocations: 51.83 kB / 0.4908 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1068, allocations: 11.98 kB / 0.4909 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.1069, allocations: 24 kB / 0.4909 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.1069, allocations: 27.86 kB / 0.4909 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.107, allocations: 35.73 kB / 0.4909 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1072, allocations: 103.6 kB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1072, allocations: 0 / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1072, allocations: 0 / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1072, allocations: 4 kB / 0.491 GB, free: 9.207 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004747/0.1077, allocations: 410.9 kB / 0.4914 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1077, allocations: 15.89 kB / 0.4914 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1078, allocations: 20.69 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.108, allocations: 204 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.108, allocations: 8.312 kB / 0.4917 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.108, allocations: 4.375 kB / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1082, allocations: 79.31 kB / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1082, allocations: 0 / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1082, allocations: 4 kB / 0.4918 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1082, allocations: 4 kB / 0.4918 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1084, allocations: 39.91 kB / 0.4918 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.1088, allocations: 393 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.1091, allocations: 93.14 kB / 0.4923 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.1092, allocations: 29.8 kB / 0.4923 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1092, allocations: 4 kB / 0.4923 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1093, allocations: 38.48 kB / 0.4923 GB, free: 7.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1093, allocations: 0 / 0.4923 GB, free: 7.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000708/0.11, allocations: 244.8 kB / 0.4926 GB, free: 7.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.11, allocations: 85.05 kB / 0.4926 GB, free: 7.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1103, allocations: 231.5 kB / 0.4929 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1103, allocations: 33.69 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.1104, allocations: 108.1 kB / 0.493 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1104, allocations: 35.53 kB / 0.493 GB, free: 6.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.1104, allocations: 25.7 kB / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1106, allocations: 330.8 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.1107, allocations: 23.98 kB / 0.4934 GB, free: 6.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/0.1107, allocations: 45.69 kB / 0.4934 GB, free: 6.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.1109, allocations: 93.61 kB / 0.4935 GB, free: 6.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.111, allocations: 0 / 0.4935 GB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002329/0.1112, allocations: 125.5 kB / 0.4936 GB, free: 6.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1112, allocations: 4 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1112, allocations: 4 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1112, allocations: 0 / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.1113, allocations: 23.92 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.1114, allocations: 4.125 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1114, allocations: 7.984 kB / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.1114, allocations: 7.938 kB / 0.4937 GB, free: 6.223 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 0.0001168/0.1115, allocations: 141.7 kB / 0.4938 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.1116, allocations: 15.81 kB / 0.4938 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.1119, allocations: 150.7 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1119, allocations: 4 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1119, allocations: 3.938 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.112, allocations: 0 / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006042/0.1126, allocations: 0.4986 MB / 0.4945 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1126, allocations: 4 kB / 0.4945 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.1127, allocations: 23.92 kB / 0.4945 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1127, allocations: 0 / 0.4945 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1127, allocations: 8 kB / 0.4945 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1127, allocations: 0 / 0.4945 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1127, allocations: 0 / 0.4945 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.113, allocations: 303.4 kB / 0.4948 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.1131, allocations: 89.56 kB / 0.4949 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1131, allocations: 4 kB / 0.4949 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1132, allocations: 7.984 kB / 0.4949 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.1132, allocations: 7.984 kB / 0.4949 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1132, allocations: 8 kB / 0.4949 GB, free: 4.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1134, allocations: 167.2 kB / 0.4951 GB, free: 4.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1134, allocations: 7.938 kB / 0.4951 GB, free: 4.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1137, allocations: 16 kB / 0.4951 GB, free: 4.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008854/0.1146, allocations: 421 kB / 0.4955 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1148, allocations: 87.88 kB / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1148, allocations: 0 / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/0.1149, allocations: 47.91 kB / 0.4956 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1154, allocations: 27.8 kB / 0.4957 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.1159, allocations: 321.8 kB / 0.496 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1162, allocations: 0.7158 MB / 0.4967 GB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.1162, allocations: 19.44 kB / 0.4967 GB, free: 3.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1163, allocations: 0 / 0.4967 GB, free: 3.008 MB / 382.1 MB Notification: Performance of Templates: time 0.003567/0.1198, allocations: 1.805 MB / 0.4984 GB, free: 1.207 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches