Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001658/0.001657, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001811/0.001811, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.471/1.471, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2163/0.2163, 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.001493/0.001493, allocations: 74.02 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003368/0.1108, allocations: 1.97 MB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1122, allocations: 0.7681 MB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1123, allocations: 4 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.1128, allocations: 259.2 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.1132, allocations: 195.3 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1145, allocations: 0.6004 MB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.1149, allocations: 295.2 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1151, allocations: 84.67 kB / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1153, allocations: 135.5 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.1156, allocations: 199.4 kB / 0.4918 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.1156, allocations: 12 kB / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1158, allocations: 67.92 kB / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1159, allocations: 99.66 kB / 0.4919 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.116, allocations: 123 kB / 0.4921 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.1164, allocations: 322.8 kB / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1164, allocations: 0 / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1164, allocations: 4 kB / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1165, allocations: 0 / 0.4924 GB, free: 7.16 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008057/0.1173, allocations: 0.6573 MB / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1173, allocations: 15.89 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.1174, allocations: 34.75 kB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/0.1174, allocations: 40.47 kB / 0.4931 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.1179, allocations: 334.1 kB / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1179, allocations: 12.31 kB / 0.4934 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.1179, allocations: 8.375 kB / 0.4934 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.1182, allocations: 133.5 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1182, allocations: 0 / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1182, allocations: 4 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1182, allocations: 4 kB / 0.4936 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1184, allocations: 95.94 kB / 0.4937 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.1192, allocations: 0.5118 MB / 0.4942 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1194, allocations: 110.5 kB / 0.4943 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.1195, allocations: 48.83 kB / 0.4943 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1195, allocations: 0 / 0.4943 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1195, allocations: 34.5 kB / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.625e-06/0.1195, allocations: 0 / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009798/0.1205, allocations: 440.3 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.1206, allocations: 59.41 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.1212, allocations: 0.5487 MB / 0.4954 GB, free: 3.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1212, allocations: 29.7 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1214, allocations: 204.3 kB / 0.4956 GB, free: 3.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.1214, allocations: 55.19 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.1215, allocations: 37.72 kB / 0.4957 GB, free: 3.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1216, allocations: 350.8 kB / 0.496 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1218, allocations: 63.86 kB / 0.4961 GB, free: 3.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1219, allocations: 74.61 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.1222, allocations: 160.7 kB / 0.4963 GB, free: 2.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1222, allocations: 0 / 0.4963 GB, free: 2.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003895/0.1226, allocations: 227.8 kB / 0.4965 GB, free: 2.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1226, allocations: 8 kB / 0.4965 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1227, allocations: 0 / 0.4965 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1227, allocations: 0 / 0.4965 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.1228, allocations: 39.97 kB / 0.4966 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1229, allocations: 0 / 0.4966 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.1229, allocations: 8 kB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.123, allocations: 4 kB / 0.4966 GB, free: 2.625 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 (17): * Single equations (assignments): 17 * 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.0001701/0.1231, allocations: 189.6 kB / 0.4968 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.267e-05/0.1232, allocations: 43.44 kB / 0.4968 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.1237, allocations: 269.5 kB / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1238, allocations: 4 kB / 0.4971 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1238, allocations: 4 kB / 0.4971 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1238, allocations: 3.938 kB / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009026/0.1247, allocations: 0.6777 MB / 0.4977 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1247, allocations: 0 / 0.4977 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1248, allocations: 35.92 kB / 0.4978 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1248, allocations: 4 kB / 0.4978 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1249, allocations: 4 kB / 0.4978 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1249, allocations: 7.875 kB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.1249, allocations: 7.984 kB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.1253, allocations: 323.7 kB / 0.4981 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.1254, allocations: 112.6 kB / 0.4982 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.1255, allocations: 8 kB / 0.4982 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1256, allocations: 19.86 kB / 0.4982 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1256, allocations: 19.97 kB / 0.4982 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1257, allocations: 4 kB / 0.4982 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004068/0.1261, allocations: 415.1 kB / 0.4986 GB, free: 408 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1261, allocations: 0 / 0.4986 GB, free: 408 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.1264, allocations: 48 kB / 0.4987 GB, free: 360 kB / 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 (17): * Single equations (assignments): 17 * 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.002186/0.1286, allocations: 1.457 MB / 0.5001 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.1289, allocations: 163.9 kB / 0.5003 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.129, allocations: 0 / 0.5003 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1291, allocations: 87.89 kB / 0.5004 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.1297, allocations: 89.23 kB / 0.5004 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.1336, allocations: 3.187 MB / 0.5036 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.134, allocations: 0.8182 MB / 0.5043 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.1342, allocations: 54.23 kB / 0.5044 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.1343, allocations: 123.4 kB / 0.5045 GB, free: 10.3 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1343, allocations: 0 / 0.5045 GB, free: 10.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.1583, allocations: 7.567 MB / 0.5119 GB, free: 2.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.665, allocations: 11.88 kB / 0.5119 GB, free: 2.68 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches