Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001702/0.001702, allocations: 104 kB / 17.63 MB, free: 5.523 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.002369/0.002369, allocations: 192.1 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 58.22 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1113, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003524/0.1149, allocations: 1.662 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.116, allocations: 471 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1161, allocations: 4 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1164, allocations: 23.86 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.1167, allocations: 47.7 kB / 471.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.1173, allocations: 181.6 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.1175, allocations: 91.69 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1177, allocations: 20.22 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1178, allocations: 35.86 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1179, allocations: 39.81 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.1179, allocations: 11.94 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1181, allocations: 51.98 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.1182, allocations: 23.92 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.1183, allocations: 35.78 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1186, allocations: 123.9 kB / 472.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1186, allocations: 0 / 472.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1186, allocations: 0 / 472.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1186, allocations: 4 kB / 472.2 MB, free: 11.48 MB / 350.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.0007011/0.1193, allocations: 419.1 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1194, allocations: 12.03 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.1194, allocations: 30.75 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.1194, allocations: 16.75 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1197, allocations: 200.7 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1197, allocations: 4.125 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.1197, allocations: 7.984 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.12, allocations: 95.34 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.12, allocations: 0 / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1201, allocations: 0 / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1201, allocations: 4 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.1204, allocations: 71.92 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.1211, allocations: 356.5 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.1214, allocations: 70.53 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.1216, allocations: 48.94 kB / 473.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1216, allocations: 8 kB / 473.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1216, allocations: 34.5 kB / 473.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1216, allocations: 0 / 473.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001707/0.1234, allocations: 404.9 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.1234, allocations: 85.05 kB / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1236, allocations: 152.5 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.1236, allocations: 33.7 kB / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.1237, allocations: 92.14 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1237, allocations: 31.55 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.1238, allocations: 21.72 kB / 474.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1239, allocations: 322.8 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.1242, allocations: 84.38 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.1245, allocations: 97.5 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.1251, allocations: 168.7 kB / 475 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.1251, allocations: 4 kB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006603/0.1258, allocations: 213.3 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1258, allocations: 7.938 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1258, allocations: 7.984 kB / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1259, allocations: 0 / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.1261, allocations: 31.97 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1261, allocations: 0 / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.1263, allocations: 35.95 kB / 475.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1263, allocations: 4 kB / 475.3 MB, free: 8.113 MB / 350.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 (10): * Single equations (assignments): 10 * 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.0001182/0.1265, allocations: 125.7 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.1265, allocations: 11.84 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007301/0.1273, allocations: 230.1 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.1273, allocations: 4.359 kB / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1273, allocations: 0 / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1273, allocations: 0 / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.1283, allocations: 0.5178 MB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1283, allocations: 0 / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.1285, allocations: 39.95 kB / 476.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1285, allocations: 0 / 476.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1286, allocations: 0 / 476.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1286, allocations: 4 kB / 476.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1286, allocations: 0 / 476.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.1293, allocations: 303.2 kB / 476.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.1293, allocations: 92.91 kB / 476.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1294, allocations: 0 / 476.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1296, allocations: 27.97 kB / 476.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.1296, allocations: 11.92 kB / 476.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.1297, allocations: 4 kB / 476.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1298, allocations: 120.8 kB / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1298, allocations: 0 / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1301, allocations: 43.92 kB / 476.8 MB, free: 6.492 MB / 350.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 (9): * Single equations (assignments): 9 * 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.001885/0.132, allocations: 1.17 MB / 477.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007129/0.1327, allocations: 179.8 kB / 478.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1327, allocations: 0 / 478.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.133, allocations: 91.84 kB / 478.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1335, allocations: 27.92 kB / 478.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.1367, allocations: 1.891 MB / 480.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.137, allocations: 0.708 MB / 480.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.1371, allocations: 28.52 kB / 480.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.1372, allocations: 31.42 kB / 480.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1372, allocations: 0 / 480.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.1608, allocations: 3.834 MB / 484.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/7.928, allocations: 3.438 kB / 484.7 MB, free: 14.68 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches