Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 104 kB / 16.4 MB, free: 6.496 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.001207/0.001207, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.302/1.302, allocations: 205.1 MB / 223.2 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.2045/0.2045, allocations: 43.53 MB / 314.1 MB, free: 468 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.001438/0.001438, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09159, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002837/0.09446, allocations: 1.623 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.09511, allocations: 339.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.09519, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.09544, allocations: 67.78 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.09565, allocations: 55.81 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.09605, allocations: 151.6 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.09621, allocations: 79.75 kB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.09632, allocations: 23.97 kB / 0.4897 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.484e-05/0.09639, allocations: 35.91 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.09649, allocations: 39.84 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.09651, allocations: 4 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.809e-05/0.0966, allocations: 31.98 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.09666, allocations: 23.91 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.09671, allocations: 35.73 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.0969, allocations: 95.66 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09691, allocations: 0 / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09692, allocations: 0 / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.09693, allocations: 4 kB / 0.4899 GB, free: 9.707 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.0004853/0.09742, allocations: 418.4 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.09746, allocations: 11.89 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.0975, allocations: 38.75 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.09754, allocations: 12.84 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.09774, allocations: 192.1 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.09776, allocations: 4.375 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.09778, allocations: 384 / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.09795, allocations: 81.47 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.09797, allocations: 0 / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.09798, allocations: 0 / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.09799, allocations: 0 / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.09812, allocations: 39.97 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.09853, allocations: 316.8 kB / 0.491 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.09867, allocations: 46.5 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.09875, allocations: 28.94 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.09878, allocations: 0 / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.0988, allocations: 34.56 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.09881, allocations: 0 / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007677/0.09958, allocations: 233 kB / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.09963, allocations: 55.41 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.0998, allocations: 190.1 kB / 0.4916 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.09983, allocations: 25.7 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.09989, allocations: 104.1 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.09992, allocations: 23.66 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.09996, allocations: 21.7 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1001, allocations: 326.8 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1002, allocations: 31.97 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/0.1003, allocations: 39.97 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.1005, allocations: 96.8 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1005, allocations: 3.938 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002794/0.1008, allocations: 121.8 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1008, allocations: 4 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1008, allocations: 0 / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1009, allocations: 4 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.101, allocations: 19.98 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.101, allocations: 0 / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.1011, allocations: 15.92 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1011, allocations: 3.984 kB / 0.4924 GB, free: 6.984 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 9.166e-05/0.1012, allocations: 137.7 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.1012, allocations: 11.81 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.1015, allocations: 138.3 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1016, allocations: 4 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1016, allocations: 0 / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1016, allocations: 7.875 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.1021, allocations: 410.4 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1021, allocations: 0 / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.1022, allocations: 23.98 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1022, allocations: 3.984 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1022, allocations: 7.938 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1022, allocations: 4 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1022, allocations: 0 / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.1025, allocations: 223.8 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.1026, allocations: 88.95 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1026, allocations: 3.938 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.1027, allocations: 11.98 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1027, allocations: 7.984 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1028, allocations: 4 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1029, allocations: 136.1 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1029, allocations: 4 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1031, allocations: 19.98 kB / 0.4936 GB, free: 5.652 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.001302/0.1044, allocations: 1.053 MB / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.1047, allocations: 99.84 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1047, allocations: 0 / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1049, allocations: 47.97 kB / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1052, allocations: 23.2 kB / 0.4947 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1072, allocations: 1.697 MB / 0.4964 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1074, allocations: 0.708 MB / 0.4971 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.729e-05/0.1075, allocations: 28.95 kB / 0.4971 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.1076, allocations: 31.36 kB / 0.4972 GB, free: 1.879 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1076, allocations: 0 / 0.4972 GB, free: 1.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.1274, allocations: 3.025 MB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.654, allocations: 8 kB / 0.5001 GB, free: 14.82 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches