Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001525/0.001526, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001657/0.001657, allocations: 189.5 kB / 17.34 MB, free: 5.711 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.484/1.484, 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.2119/0.2119, allocations: 43.52 MB / 314.1 MB, free: 448 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.002347/0.002347, allocations: 65.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1142, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00399/0.1182, allocations: 1.962 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1203, allocations: 1.054 MB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.1205, allocations: 0 / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1208, allocations: 59.56 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.1213, allocations: 147.4 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.1225, allocations: 0.5574 MB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.123, allocations: 271.3 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.1232, allocations: 72.56 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1234, allocations: 131.4 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.1237, allocations: 175.3 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.1237, allocations: 12 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1238, allocations: 47.97 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.124, allocations: 139.6 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1242, allocations: 170.6 kB / 0.4921 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.1246, allocations: 378.5 kB / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1246, allocations: 4 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1246, allocations: 0 / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1247, allocations: 4 kB / 0.4924 GB, free: 7.113 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001098/0.1258, allocations: 0.7695 MB / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1258, allocations: 15.89 kB / 0.4932 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.1259, allocations: 46.73 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.126, allocations: 52.28 kB / 0.4933 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.1266, allocations: 459.7 kB / 0.4937 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1266, allocations: 8.375 kB / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1266, allocations: 19.94 kB / 0.4938 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.1269, allocations: 143.3 kB / 0.4939 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.127, allocations: 0 / 0.4939 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.127, allocations: 4 kB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.127, allocations: 4 kB / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.1272, allocations: 95.86 kB / 0.494 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.1284, allocations: 0.6956 MB / 0.4947 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.1286, allocations: 121.2 kB / 0.4948 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1287, allocations: 45.81 kB / 0.4948 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.1288, allocations: 11.94 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1288, allocations: 34.56 kB / 0.4949 GB, free: 4.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.1288, allocations: 3.938 kB / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001606/0.1304, allocations: 0.5486 MB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.1305, allocations: 77.11 kB / 0.4955 GB, free: 3.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.1316, allocations: 0.8819 MB / 0.4964 GB, free: 2.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1316, allocations: 25.7 kB / 0.4964 GB, free: 2.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.1318, allocations: 256.2 kB / 0.4966 GB, free: 2.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.1319, allocations: 51.27 kB / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.1319, allocations: 33.7 kB / 0.4967 GB, free: 2.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1321, allocations: 378.7 kB / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.1323, allocations: 63.95 kB / 0.4971 GB, free: 2.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1325, allocations: 85.55 kB / 0.4972 GB, free: 1.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1329, allocations: 161.6 kB / 0.4974 GB, free: 1.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1329, allocations: 0 / 0.4974 GB, free: 1.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005149/0.1334, allocations: 240.8 kB / 0.4976 GB, free: 1.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1335, allocations: 4 kB / 0.4976 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1335, allocations: 4 kB / 0.4976 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1335, allocations: 0 / 0.4976 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.1337, allocations: 35.97 kB / 0.4976 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1337, allocations: 4 kB / 0.4976 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1339, allocations: 11.98 kB / 0.4976 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.134, allocations: 8 kB / 0.4977 GB, free: 1.473 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 (16): * Single equations (assignments): 16 * 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.0002485/0.1342, allocations: 225.6 kB / 0.4979 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1343, allocations: 51.34 kB / 0.4979 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006991/0.135, allocations: 295.2 kB / 0.4982 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1351, allocations: 4 kB / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1351, allocations: 0 / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1351, allocations: 0 / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.1364, allocations: 0.8098 MB / 0.499 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1365, allocations: 0 / 0.499 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.1367, allocations: 39.97 kB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1367, allocations: 0 / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.1367, allocations: 11.92 kB / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1367, allocations: 3.938 kB / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1367, allocations: 0 / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.1373, allocations: 417.9 kB / 0.4994 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.1376, allocations: 148.4 kB / 0.4996 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.1376, allocations: 4 kB / 0.4996 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.1378, allocations: 15.92 kB / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.1379, allocations: 19.92 kB / 0.4996 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1379, allocations: 7.984 kB / 0.4996 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007682/0.1387, allocations: 0.6472 MB / 0.5003 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1387, allocations: 0 / 0.5003 GB, free: 14.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.1391, allocations: 59.94 kB / 0.5003 GB, free: 14.63 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.001829/0.1409, allocations: 1.241 MB / 0.5015 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.1415, allocations: 171.9 kB / 0.5017 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1415, allocations: 0 / 0.5017 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.1417, allocations: 96.19 kB / 0.5018 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.1425, allocations: 74.83 kB / 0.5019 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006759/0.1492, allocations: 5.05 MB / 0.5068 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.1497, allocations: 0.8653 MB / 0.5076 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.15, allocations: 91.38 kB / 0.5077 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.1502, allocations: 167.4 kB / 0.5079 GB, free: 6.781 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1502, allocations: 0 / 0.5079 GB, free: 6.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.1814, allocations: 9.92 MB / 0.5176 GB, free: 12.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.623/8.804, allocations: 4.062 kB / 0.5176 GB, free: 12.83 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches