Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.CombiTable2D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28",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.001325/0.001325, allocations: 106 kB / 16.41 MB, free: 6.488 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.00127/0.00127, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.487/1.487, allocations: 205.1 MB / 223.2 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.2113/0.2113, allocations: 43.53 MB / 314.1 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.001553/0.001553, allocations: 69.47 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.003194/0.1245, allocations: 1.608 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006349/0.1251, allocations: 319.5 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.1252, allocations: 4 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1255, allocations: 59.78 kB / 0.4894 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1257, allocations: 51.81 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1261, allocations: 115.7 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1262, allocations: 67.83 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.1264, allocations: 16.16 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.805e-05/0.1264, allocations: 39.84 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1265, allocations: 39.84 kB / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1266, allocations: 3.984 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.1267, allocations: 35.98 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.1267, allocations: 27.92 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.1268, allocations: 31.73 kB / 0.4898 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.127, allocations: 91.7 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.127, allocations: 0 / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.127, allocations: 0 / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.127, allocations: 0 / 0.4898 GB, free: 9.793 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.0005374/0.1276, allocations: 414.9 kB / 0.4902 GB, free: 9.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1276, allocations: 11.89 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.1276, allocations: 34.75 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1277, allocations: 12.84 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1279, allocations: 196.1 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1279, allocations: 384 / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1279, allocations: 8.125 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1281, allocations: 61.66 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1281, allocations: 3.938 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1281, allocations: 0 / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1281, allocations: 0 / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1283, allocations: 43.95 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1286, allocations: 292.8 kB / 0.4909 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.1288, allocations: 42.56 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.1289, allocations: 24.88 kB / 0.4909 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1289, allocations: 4 kB / 0.4909 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1289, allocations: 34.56 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1289, allocations: 7.875 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006965/0.1296, allocations: 205.1 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1297, allocations: 55.41 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1298, allocations: 198.1 kB / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1299, allocations: 29.7 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.1299, allocations: 100.2 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.13, allocations: 23.64 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.13, allocations: 17.72 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1301, allocations: 326.8 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1302, allocations: 35.97 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1304, allocations: 31.97 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1306, allocations: 68.81 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1306, allocations: 0 / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002424/0.1308, allocations: 117.5 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1308, allocations: 4 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1309, allocations: 0 / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1309, allocations: 0 / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.131, allocations: 19.98 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.131, allocations: 3.938 kB / 0.4922 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.1311, allocations: 15.98 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1311, allocations: 0 / 0.4922 GB, free: 7.164 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.625e-05/0.1312, allocations: 129.8 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.1312, allocations: 15.81 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.1315, allocations: 126.3 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1315, allocations: 0 / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1316, allocations: 3.938 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1316, allocations: 4 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.1321, allocations: 402.5 kB / 0.4928 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1321, allocations: 0 / 0.4928 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.1322, allocations: 15.98 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1322, allocations: 7.938 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.1322, allocations: 0 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1322, allocations: 0 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1322, allocations: 288 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.1325, allocations: 219.8 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1326, allocations: 88.98 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1326, allocations: 11.94 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.1327, allocations: 7.984 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1328, allocations: 4 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.1328, allocations: 7.938 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1329, allocations: 152.1 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1329, allocations: 0 / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1332, allocations: 15.94 kB / 0.4933 GB, free: 5.867 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.001392/0.1346, allocations: 1.047 MB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.1349, allocations: 79.88 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1349, allocations: 0 / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.135, allocations: 43.97 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1354, allocations: 23.86 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.1375, allocations: 1.655 MB / 0.4961 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1378, allocations: 0.7041 MB / 0.4968 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.591e-05/0.1379, allocations: 8.969 kB / 0.4968 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.138, allocations: 35.42 kB / 0.4969 GB, free: 2.191 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.138, allocations: 0 / 0.4969 GB, free: 2.191 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1584, allocations: 2.968 MB / 0.4998 GB, free: 15.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.476, allocations: 7.891 kB / 0.4998 GB, free: 15.19 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches