Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001377/0.001377, allocations: 104.6 kB / 16.4 MB, free: 6.41 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.002045/0.002046, allocations: 187.7 kB / 17.34 MB, free: 5.699 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.21/0.21, allocations: 43.52 MB / 314.1 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.001956/0.001956, allocations: 69.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002812/0.1115, allocations: 1.615 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006293/0.1122, allocations: 335.6 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.1122, allocations: 7.938 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1125, allocations: 51.81 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.1127, allocations: 43.77 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1131, allocations: 159.6 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.1132, allocations: 75.81 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.1133, allocations: 23.97 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.1134, allocations: 27.86 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.1135, allocations: 39.83 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1135, allocations: 4 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.1136, allocations: 35.98 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.1136, allocations: 19.92 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.1137, allocations: 27.75 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1139, allocations: 91.64 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1139, allocations: 3.938 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.049e-06/0.1139, allocations: 8 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1139, allocations: 3.938 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.0005103/0.1144, allocations: 398.9 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1145, allocations: 11.89 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.1145, allocations: 38.75 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1145, allocations: 12.88 kB / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1148, allocations: 188.8 kB / 0.4905 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1148, allocations: 16.09 kB / 0.4905 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1148, allocations: 4 kB / 0.4905 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.115, allocations: 65.66 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.115, allocations: 3.938 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.115, allocations: 4 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.115, allocations: 0 / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1152, allocations: 35.97 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1157, allocations: 312.7 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1158, allocations: 54.48 kB / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/0.1159, allocations: 28.94 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1159, allocations: 0 / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1159, allocations: 30.56 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1159, allocations: 0 / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008188/0.1168, allocations: 233.6 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1168, allocations: 55.34 kB / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.117, allocations: 174.5 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.117, allocations: 25.7 kB / 0.4915 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.1171, allocations: 104.1 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1171, allocations: 31.67 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.1172, allocations: 21.72 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1173, allocations: 322.8 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1174, allocations: 31.97 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1176, allocations: 39.95 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1178, allocations: 96.73 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1178, allocations: 0 / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000291/0.1181, allocations: 117.5 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1181, allocations: 8 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.1182, allocations: 4.047 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1182, allocations: 3.984 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1183, allocations: 27.91 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1183, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.1184, allocations: 4 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1184, allocations: 8 kB / 0.4923 GB, free: 7.012 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.692e-05/0.1185, allocations: 125.8 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.1185, allocations: 7.953 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.1189, allocations: 146.2 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.1189, allocations: 7.938 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.119, allocations: 0 / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.119, allocations: 0 / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.1195, allocations: 414.4 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1196, allocations: 4 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.789e-05/0.1197, allocations: 27.92 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1197, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1197, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1197, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1197, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.12, allocations: 231.8 kB / 0.4932 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.1201, allocations: 85 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1201, allocations: 3.984 kB / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.1202, allocations: 12 kB / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.1203, allocations: 15.86 kB / 0.4933 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1203, allocations: 0 / 0.4933 GB, free: 5.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1204, allocations: 136.1 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1204, allocations: 4 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1206, allocations: 19.92 kB / 0.4935 GB, free: 5.688 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.001967/0.1226, allocations: 1.055 MB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.123, allocations: 87.88 kB / 0.4946 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.123, allocations: 4 kB / 0.4946 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1231, allocations: 43.97 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1235, allocations: 15.92 kB / 0.4947 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.1258, allocations: 1.681 MB / 0.4963 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.1263, allocations: 0.7041 MB / 0.497 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.74e-05/0.1264, allocations: 28.94 kB / 0.497 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.1264, allocations: 31.42 kB / 0.4971 GB, free: 1.953 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1264, allocations: 0 / 0.4971 GB, free: 1.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.1498, allocations: 2.949 MB / 0.4999 GB, free: 14.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.088, allocations: 8.062 kB / 0.4999 GB, free: 14.98 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches