Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24",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.001555/0.001555, allocations: 104.9 kB / 16.4 MB, free: 6.461 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.001108/0.001107, allocations: 189.5 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.449/1.449, 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.2152/0.2152, 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.001826/0.001826, allocations: 74.03 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1241, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.003483/0.1276, allocations: 1.604 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.1283, allocations: 323.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.1284, allocations: 4 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.1288, allocations: 51.81 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.129, allocations: 47.81 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.1294, allocations: 115.7 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1296, allocations: 59.84 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1298, allocations: 20.11 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.1299, allocations: 27.91 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.13, allocations: 35.84 kB / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.13, allocations: 0 / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1301, allocations: 43.98 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.68e-05/0.1302, allocations: 19.91 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.1303, allocations: 27.81 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1305, allocations: 87.7 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1305, allocations: 0 / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1305, allocations: 3.938 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1305, allocations: 0 / 0.4898 GB, free: 9.789 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.0006103/0.1312, allocations: 395 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1312, allocations: 15.89 kB / 0.4902 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.1313, allocations: 42.73 kB / 0.4902 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1313, allocations: 8.844 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1316, allocations: 196.7 kB / 0.4904 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1316, allocations: 7.875 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1317, allocations: 0 / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1318, allocations: 61.61 kB / 0.4905 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1319, allocations: 0 / 0.4905 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1319, allocations: 0 / 0.4905 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1319, allocations: 4 kB / 0.4905 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.132, allocations: 39.97 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.1325, allocations: 292.7 kB / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1326, allocations: 46.5 kB / 0.4909 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.1327, allocations: 24.94 kB / 0.4909 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.1328, allocations: 8.062 kB / 0.4909 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1328, allocations: 30.56 kB / 0.4909 GB, free: 8.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.1328, allocations: 0 / 0.4909 GB, free: 8.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007626/0.1336, allocations: 209.1 kB / 0.4911 GB, free: 8.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1336, allocations: 51.41 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1338, allocations: 174.4 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1338, allocations: 25.7 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.1339, allocations: 108 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1339, allocations: 23.7 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.134, allocations: 17.72 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1341, allocations: 322.8 kB / 0.4918 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1342, allocations: 35.97 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.461e-05/0.1343, allocations: 35.97 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1345, allocations: 64.81 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1345, allocations: 0 / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002798/0.1348, allocations: 121.5 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1348, allocations: 11.94 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1349, allocations: 0 / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1349, allocations: 0 / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.135, allocations: 23.98 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.135, allocations: 0 / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.1351, allocations: 7.984 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1351, allocations: 8 kB / 0.4921 GB, free: 7.188 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 9.08e-05/0.1352, allocations: 121.8 kB / 0.4922 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.1352, allocations: 11.84 kB / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.1355, allocations: 130.2 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1356, allocations: 8.219 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.1356, allocations: 0 / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1356, allocations: 4 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.1362, allocations: 394.4 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.1362, allocations: 7.984 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.1363, allocations: 15.98 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1363, allocations: 0 / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.1363, allocations: 4 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1363, allocations: 0 / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1363, allocations: 4 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1366, allocations: 207.7 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.1367, allocations: 89 kB / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1367, allocations: 4 kB / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.1368, allocations: 11.98 kB / 0.4931 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.1368, allocations: 15.92 kB / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.1369, allocations: 0 / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.91e-05/0.137, allocations: 135.9 kB / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.137, allocations: 0 / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1372, allocations: 20 kB / 0.4933 GB, free: 5.918 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.001385/0.1386, allocations: 1.05 MB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.1389, allocations: 79.88 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1389, allocations: 0 / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.139, allocations: 43.97 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1394, allocations: 19.92 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1413, allocations: 1.615 MB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1416, allocations: 0.7002 MB / 0.4967 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.096e-05/0.1417, allocations: 12.97 kB / 0.4967 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.1417, allocations: 31.36 kB / 0.4967 GB, free: 2.285 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1417, allocations: 0 / 0.4967 GB, free: 2.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.1635, allocations: 2.877 MB / 0.4995 GB, free: 15.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.554, allocations: 11.89 kB / 0.4995 GB, free: 15.38 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches