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.001799/0.001799, allocations: 107.5 kB / 16.41 MB, free: 5.973 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.001898/0.001898, allocations: 190.6 kB / 17.34 MB, free: 5.582 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.433/1.433, 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.2254/0.2254, allocations: 43.53 MB / 314.1 MB, free: 440 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.001967/0.001967, allocations: 67.89 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1109, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003481/0.1144, allocations: 1.962 MB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1161, allocations: 1.057 MB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.3e-05/0.1162, allocations: 4 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1165, allocations: 51.58 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.1169, allocations: 143.4 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.118, allocations: 0.5497 MB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.1184, allocations: 267.3 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1186, allocations: 84.53 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1187, allocations: 119.5 kB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.119, allocations: 187.3 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.119, allocations: 12 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1191, allocations: 40 kB / 0.4918 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.1193, allocations: 143.6 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.1195, allocations: 170.6 kB / 0.4921 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.1199, allocations: 378 kB / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1199, allocations: 0 / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1199, allocations: 4 kB / 0.4924 GB, free: 7.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1199, allocations: 4 kB / 0.4924 GB, free: 7.094 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.001026/0.121, allocations: 0.7889 MB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.121, allocations: 15.89 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.1211, allocations: 42.75 kB / 0.4933 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.1212, allocations: 60.55 kB / 0.4933 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.1217, allocations: 464.3 kB / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1217, allocations: 8.375 kB / 0.4938 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.1218, allocations: 19.92 kB / 0.4938 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.1221, allocations: 143.3 kB / 0.4939 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1221, allocations: 0 / 0.4939 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1221, allocations: 4 kB / 0.4939 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1221, allocations: 4 kB / 0.4939 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.1224, allocations: 99.86 kB / 0.494 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009239/0.1233, allocations: 0.6957 MB / 0.4947 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.1235, allocations: 117.2 kB / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1237, allocations: 49.75 kB / 0.4949 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1237, allocations: 11.94 kB / 0.4949 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1237, allocations: 34.56 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1237, allocations: 0 / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00145/0.1252, allocations: 0.558 MB / 0.4955 GB, free: 3.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1252, allocations: 77.11 kB / 0.4955 GB, free: 3.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.1262, allocations: 0.8819 MB / 0.4964 GB, free: 2.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1263, allocations: 25.7 kB / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.1265, allocations: 256.3 kB / 0.4967 GB, free: 2.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.1265, allocations: 59.48 kB / 0.4967 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.1266, allocations: 33.7 kB / 0.4968 GB, free: 2.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1268, allocations: 374.7 kB / 0.4971 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.127, allocations: 63.95 kB / 0.4972 GB, free: 1.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.1272, allocations: 81.66 kB / 0.4972 GB, free: 1.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.1275, allocations: 165.6 kB / 0.4974 GB, free: 1.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1276, allocations: 0 / 0.4974 GB, free: 1.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004859/0.128, allocations: 237.2 kB / 0.4976 GB, free: 1.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1281, allocations: 4 kB / 0.4976 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1281, allocations: 4 kB / 0.4976 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1281, allocations: 0 / 0.4976 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1283, allocations: 35.97 kB / 0.4977 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1283, allocations: 0 / 0.4977 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1285, allocations: 23.88 kB / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1285, allocations: 8 kB / 0.4977 GB, free: 1.41 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.0002159/0.1287, allocations: 225.6 kB / 0.4979 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1288, allocations: 55.62 kB / 0.498 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006198/0.1295, allocations: 291.2 kB / 0.4983 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1295, allocations: 0 / 0.4983 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1295, allocations: 4 kB / 0.4983 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1295, allocations: 3.984 kB / 0.4983 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.1306, allocations: 0.806 MB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1307, allocations: 4 kB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1308, allocations: 43.91 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1308, allocations: 0 / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1309, allocations: 4 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.1309, allocations: 3.938 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1309, allocations: 0 / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.1314, allocations: 421.4 kB / 0.4995 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1316, allocations: 160.7 kB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.1317, allocations: 4 kB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1318, allocations: 15.92 kB / 0.4997 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.1319, allocations: 15.98 kB / 0.4997 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1319, allocations: 7.938 kB / 0.4997 GB, free: 15.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000711/0.1327, allocations: 0.651 MB / 0.5003 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1327, allocations: 0 / 0.5003 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.133, allocations: 52 kB / 0.5004 GB, free: 14.56 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.002189/0.1352, allocations: 1.247 MB / 0.5016 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.1357, allocations: 168 kB / 0.5018 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1357, allocations: 0 / 0.5018 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.1359, allocations: 96.02 kB / 0.5019 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.1365, allocations: 70.91 kB / 0.5019 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/0.1429, allocations: 5.081 MB / 0.5069 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.1434, allocations: 0.8614 MB / 0.5077 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000219/0.1437, allocations: 87.52 kB / 0.5078 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.1439, allocations: 175.4 kB / 0.508 GB, free: 6.68 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1439, allocations: 0 / 0.508 GB, free: 6.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.1769, allocations: 9.777 MB / 0.5175 GB, free: 12.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/8.827, allocations: 8.062 kB / 0.5175 GB, free: 12.86 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