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.0008983/0.0008983, allocations: 94.86 kB / 17.35 MB, free: 6.371 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.0009562/0.0009563, allocations: 173.3 kB / 18.25 MB, free: 5.527 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.352/1.352, allocations: 223.3 MB / 242.3 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2058/0.2058, allocations: 44.24 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 10.12 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002088/0.1166, allocations: 1.375 MB / 473.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.1174, allocations: 459.2 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.1175, allocations: 4 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.1177, allocations: 19.92 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.1178, allocations: 27.84 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.1182, allocations: 173.5 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1184, allocations: 83.75 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1185, allocations: 24.16 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.1186, allocations: 31.8 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.1186, allocations: 35.83 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1187, allocations: 4 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1188, allocations: 43.98 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.1188, allocations: 19.92 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.1189, allocations: 61.48 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1191, allocations: 119.9 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1191, allocations: 0 / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1191, allocations: 4 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1191, allocations: 4 kB / 474.8 MB, free: 10.75 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.0005772/0.1197, allocations: 415.1 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1198, allocations: 12.03 kB / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.1198, allocations: 38.69 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.1198, allocations: 8.844 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.12, allocations: 202.8 kB / 475.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1201, allocations: 4.125 kB / 475.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1201, allocations: 8 kB / 475.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1204, allocations: 99.36 kB / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1204, allocations: 0 / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1204, allocations: 0 / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1204, allocations: 7.984 kB / 475.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.1208, allocations: 99.86 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.1214, allocations: 360.6 kB / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1217, allocations: 86.53 kB / 476.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1219, allocations: 60.88 kB / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1219, allocations: 0 / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1219, allocations: 38.56 kB / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1219, allocations: 0 / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001804/0.1238, allocations: 0.4891 MB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1238, allocations: 81.05 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.124, allocations: 150.4 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.124, allocations: 29.7 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.1241, allocations: 100.1 kB / 477.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1242, allocations: 31.55 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1242, allocations: 17.72 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1243, allocations: 322.8 kB / 477.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.1247, allocations: 95.92 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.125, allocations: 129.6 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006126/0.1257, allocations: 208.7 kB / 477.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1257, allocations: 0 / 477.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006931/0.1264, allocations: 257.4 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1264, allocations: 7.938 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1264, allocations: 0 / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1264, allocations: 8 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1267, allocations: 51.89 kB / 478.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1267, allocations: 0 / 478.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.1269, allocations: 35.97 kB / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1269, allocations: 0 / 478.2 MB, free: 7.098 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 9.554e-05/0.127, allocations: 133.7 kB / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.127, allocations: 15.75 kB / 478.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007652/0.1278, allocations: 270.1 kB / 478.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1278, allocations: 0 / 478.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1278, allocations: 4.75 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1278, allocations: 4 kB / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.1288, allocations: 0.5569 MB / 479.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1288, allocations: 7.984 kB / 479.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.129, allocations: 43.97 kB / 479.2 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.129, allocations: 4 kB / 479.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.129, allocations: 4 kB / 479.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.129, allocations: 3.938 kB / 479.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.129, allocations: 0 / 479.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007446/0.1298, allocations: 351.1 kB / 479.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.1298, allocations: 88.95 kB / 479.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1299, allocations: 7.984 kB / 479.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.1301, allocations: 35.97 kB / 479.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.1301, allocations: 11.98 kB / 479.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.1301, allocations: 0 / 479.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.693e-05/0.1302, allocations: 122.2 kB / 479.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1302, allocations: 0 / 479.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1305, allocations: 39.92 kB / 479.9 MB, free: 5.312 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.00181/0.1323, allocations: 1.219 MB / 481.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006986/0.133, allocations: 219.8 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1331, allocations: 0 / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.1334, allocations: 119.8 kB / 481.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1337, allocations: 22.22 kB / 481.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.1366, allocations: 2.023 MB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1368, allocations: 0.7083 MB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.137, allocations: 32.52 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.137, allocations: 31.42 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.137, allocations: 0 / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.15, allocations: 3.322 MB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/0.1503, allocations: 258.2 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/1.877, allocations: 0 / 487.8 MB, free: 13.55 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