Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.0009343/0.0009343, allocations: 91 kB / 17.35 MB, free: 6.352 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.001057/0.001057, allocations: 170.7 kB / 18.25 MB, free: 5.508 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.348/1.348, allocations: 223.3 MB / 242.3 MB, free: 224 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.2128/0.2128, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1159, allocations: 61.94 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.002051/0.1179, allocations: 1.547 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1193, allocations: 0.7952 MB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.1193, allocations: 0 / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.1197, allocations: 235.5 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.12, allocations: 179.5 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008844/0.1209, allocations: 453.3 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1212, allocations: 235.3 kB / 475.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1213, allocations: 48.3 kB / 475.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1214, allocations: 99.53 kB / 475.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.1216, allocations: 179.4 kB / 476.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1216, allocations: 0 / 476.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.1217, allocations: 47.97 kB / 476.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.1218, allocations: 71.75 kB / 476.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.1219, allocations: 128.7 kB / 476.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1222, allocations: 255.2 kB / 476.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1222, allocations: 0 / 476.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1222, allocations: 0 / 476.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1222, allocations: 0 / 476.6 MB, free: 9.004 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006118/0.1228, allocations: 0.572 MB / 477.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1229, allocations: 8.031 kB / 477.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.1229, allocations: 42.75 kB / 477.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.123, allocations: 36.47 kB / 477.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1233, allocations: 310.2 kB / 477.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.1233, allocations: 8.375 kB / 477.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1233, allocations: 4.375 kB / 477.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1235, allocations: 85.59 kB / 477.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1235, allocations: 0 / 477.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1235, allocations: 4 kB / 477.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1235, allocations: 4 kB / 477.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1236, allocations: 51.97 kB / 477.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.1242, allocations: 448.4 kB / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.1243, allocations: 62.55 kB / 478.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.1244, allocations: 32.84 kB / 478.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1244, allocations: 4 kB / 478.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1244, allocations: 34.56 kB / 478.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1244, allocations: 0 / 478.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003002/0.1248, allocations: 129.3 kB / 478.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1248, allocations: 55.34 kB / 478.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.1254, allocations: 0.5486 MB / 479 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1254, allocations: 25.7 kB / 479 MB, free: 6.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1255, allocations: 196.1 kB / 479.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.1255, allocations: 19.8 kB / 479.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.1256, allocations: 13.72 kB / 479.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1257, allocations: 350.8 kB / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.1258, allocations: 23.92 kB / 479.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.1258, allocations: 16 kB / 479.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.126, allocations: 56.83 kB / 479.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.126, allocations: 4 kB / 479.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001794/0.1262, allocations: 109.2 kB / 479.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1262, allocations: 11.92 kB / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1262, allocations: 0 / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1262, allocations: 3.938 kB / 479.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/0.1263, allocations: 16.38 kB / 479.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1263, allocations: 0 / 479.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.1264, allocations: 11.94 kB / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1264, allocations: 15.98 kB / 479.9 MB, free: 5.5 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 (6): * Single equations (assignments): 6 * 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.0001332/0.1265, allocations: 161.8 kB / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.1266, allocations: 31.53 kB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.1268, allocations: 132.9 kB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1269, allocations: 3.938 kB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1269, allocations: 0 / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1269, allocations: 4 kB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.1271, allocations: 285.4 kB / 480.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1272, allocations: 0 / 480.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.1272, allocations: 23.92 kB / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1272, allocations: 0 / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1272, allocations: 0 / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1272, allocations: 7.875 kB / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1273, allocations: 0 / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1275, allocations: 211.2 kB / 480.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.1276, allocations: 124.6 kB / 480.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.1276, allocations: 0 / 480.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.1277, allocations: 7.938 kB / 480.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1277, allocations: 4 kB / 480.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1277, allocations: 0 / 480.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003872/0.1281, allocations: 415.1 kB / 481.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1281, allocations: 4 kB / 481.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1284, allocations: 31.94 kB / 481.3 MB, free: 3.984 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 (6): * Single equations (assignments): 6 * 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.00177/0.1302, allocations: 1.24 MB / 482.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1304, allocations: 47.98 kB / 482.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1304, allocations: 0 / 482.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.24e-05/0.1305, allocations: 35.86 kB / 482.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.131, allocations: 73.42 kB / 482.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.134, allocations: 2.827 MB / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1344, allocations: 0.7868 MB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.1345, allocations: 37.5 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1347, allocations: 103.4 kB / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1347, allocations: 0 / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.1524, allocations: 5.888 MB / 492.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.1526, allocations: 229 kB / 492.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/1.995, allocations: 0 / 492.5 MB, free: 8.965 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches