Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.00141/0.00141, allocations: 108 kB / 16.41 MB, free: 6.484 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.001368/0.001368, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.453/1.453, 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.2207/0.2207, allocations: 43.52 MB / 314.1 MB, free: 468 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.002109/0.002109, allocations: 68.23 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1217, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003346/0.1251, allocations: 1.6 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007563/0.1259, allocations: 351.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.675e-05/0.1259, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.1266, allocations: 459.1 kB / 0.4898 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.127, allocations: 251.4 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.1274, allocations: 155.7 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1277, allocations: 159.6 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1278, allocations: 24.14 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.128, allocations: 103.8 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.1282, allocations: 215.6 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.1282, allocations: 3.984 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.1283, allocations: 31.98 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1285, allocations: 87.69 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1286, allocations: 99 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1289, allocations: 270.5 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1289, allocations: 0 / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.129, allocations: 0 / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.129, allocations: 0 / 0.4911 GB, free: 8.512 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.0007744/0.1297, allocations: 0.6569 MB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1298, allocations: 11.89 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.1298, allocations: 34.75 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.1299, allocations: 48.61 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1302, allocations: 300.7 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1303, allocations: 384 / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1303, allocations: 12.06 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1304, allocations: 57.66 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1305, allocations: 4 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1305, allocations: 4 kB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1305, allocations: 0 / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1306, allocations: 31.97 kB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.1312, allocations: 396.6 kB / 0.4926 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1314, allocations: 46.56 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.1315, allocations: 16.94 kB / 0.4927 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1315, allocations: 0 / 0.4927 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1316, allocations: 38.56 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1316, allocations: 0 / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006666/0.1322, allocations: 236.7 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1323, allocations: 59.41 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000888/0.1332, allocations: 0.869 MB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.1332, allocations: 29.7 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1334, allocations: 228 kB / 0.4941 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1335, allocations: 19.86 kB / 0.4941 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1335, allocations: 17.7 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1337, allocations: 358.8 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.1338, allocations: 23.98 kB / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.1338, allocations: 27.91 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.134, allocations: 52.83 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.134, allocations: 192 / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002481/0.1343, allocations: 121.4 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1343, allocations: 4 kB / 0.4947 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1343, allocations: 4 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1343, allocations: 4 kB / 0.4947 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.1344, allocations: 11.98 kB / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1344, allocations: 3.938 kB / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.1345, allocations: 7.984 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1345, allocations: 4 kB / 0.4947 GB, free: 4.57 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 (5): * Single equations (assignments): 5 * 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.0002074/0.1347, allocations: 217.7 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.1348, allocations: 39.72 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.1351, allocations: 145.1 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1351, allocations: 0 / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1351, allocations: 3.938 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1351, allocations: 4.266 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.1357, allocations: 462.4 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1357, allocations: 4 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.1358, allocations: 11.98 kB / 0.4955 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1358, allocations: 7.938 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1358, allocations: 7.984 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1358, allocations: 0 / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1358, allocations: 4 kB / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.1361, allocations: 223.3 kB / 0.4958 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.1362, allocations: 116.8 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.1362, allocations: 7.938 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.1363, allocations: 8 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.1364, allocations: 3.984 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1364, allocations: 4 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006443/0.137, allocations: 0.6511 MB / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.137, allocations: 0 / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1373, allocations: 31.92 kB / 0.4966 GB, free: 2.539 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 (5): * Single equations (assignments): 5 * 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.001952/0.1393, allocations: 1.053 MB / 0.4976 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.1395, allocations: 55.89 kB / 0.4977 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1395, allocations: 0 / 0.4977 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.1396, allocations: 27.98 kB / 0.4977 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.1401, allocations: 37.98 kB / 0.4977 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.1442, allocations: 3.246 MB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.1448, allocations: 0.826 MB / 0.5017 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.131e-05/0.1449, allocations: 11.98 kB / 0.5017 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.145, allocations: 115.3 kB / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.145, allocations: 0 / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.1745, allocations: 6.029 MB / 0.5077 GB, free: 7.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.598/8.773, allocations: 15.94 kB / 0.5077 GB, free: 7.004 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches