Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.0007987/0.0007989, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0008724/0.0008725, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.312/1.312, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.1844/0.1844, allocations: 44.25 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 8 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.001719/0.1036, allocations: 1.341 MB / 473.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007343/0.1043, allocations: 0.6604 MB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.1044, allocations: 0 / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1046, allocations: 27.91 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1047, allocations: 39.89 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.1047, allocations: 0 / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1049, allocations: 47.83 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.846e-05/0.1049, allocations: 4 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.1049, allocations: 15.91 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.105, allocations: 27.88 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.105, allocations: 0 / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-05/0.1051, allocations: 7.984 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.1051, allocations: 19.98 kB / 474.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.1052, allocations: 49.5 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.1053, allocations: 63.95 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1053, allocations: 0 / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1053, allocations: 4 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1053, allocations: 0 / 474.7 MB, free: 10.89 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003038/0.1056, allocations: 353.7 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1056, allocations: 12.03 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.1057, allocations: 38.73 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.1057, allocations: 8.844 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1058, allocations: 176.2 kB / 475.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1058, allocations: 8.375 kB / 475.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.1059, allocations: 384 / 475.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.106, allocations: 131.3 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.106, allocations: 3.938 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.106, allocations: 4 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.1061, allocations: 15.98 kB / 475.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.513e-05/0.1062, allocations: 39.92 kB / 475.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.1067, allocations: 0.8906 MB / 476.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/0.1068, allocations: 169.2 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.1068, allocations: 88.08 kB / 476.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1068, allocations: 83.27 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.1069, allocations: 105.8 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1069, allocations: 0 / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.194e-05/0.1069, allocations: 33.61 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.107, allocations: 130.7 kB / 476.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1072, allocations: 182.1 kB / 477.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1072, allocations: 33.64 kB / 477.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.1073, allocations: 155.1 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.1073, allocations: 8 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.1073, allocations: 17.72 kB / 477.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1074, allocations: 322.8 kB / 477.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.1075, allocations: 27.98 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1076, allocations: 153.1 kB / 477.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1078, allocations: 208.8 kB / 478 MB, free: 7.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1078, allocations: 3.938 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002759/0.1081, allocations: 197.4 kB / 478.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1081, allocations: 8 kB / 478.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1081, allocations: 4 kB / 478.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1081, allocations: 8 kB / 478.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1082, allocations: 35.92 kB / 478.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1083, allocations: 11.92 kB / 478.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.1083, allocations: 31.69 kB / 478.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1084, allocations: 8.344 kB / 478.3 MB, free: 6.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001066/0.1085, allocations: 217 kB / 478.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.1085, allocations: 112.8 kB / 478.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.1086, allocations: 120.8 kB / 478.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.396e-05/0.1086, allocations: 180.3 kB / 478.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.716e-05/0.1087, allocations: 184.2 kB / 479.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/0.1088, allocations: 184.2 kB / 479.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.109, allocations: 425.1 kB / 479.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-05/0.109, allocations: 104.9 kB / 479.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.1091, allocations: 109 kB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-05/0.1091, allocations: 176.3 kB / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.1092, allocations: 180.2 kB / 480.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.333e-05/0.1092, allocations: 180.3 kB / 480.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.921e-05/0.1093, allocations: 188.2 kB / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1094, allocations: 311.6 kB / 480.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.1095, allocations: 190 kB / 481.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.1096, allocations: 180.3 kB / 481.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.1096, allocations: 108.9 kB / 481.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.1097, allocations: 180.3 kB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.1097, allocations: 112.9 kB / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.303e-05/0.1098, allocations: 132 kB / 481.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1098, allocations: 4 kB / 481.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1101, allocations: 12 kB / 481.8 MB, free: 3.102 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 (0): * Single equations (assignments): 0 * 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.0006251/0.1107, allocations: 0.9212 MB / 482.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.1109, allocations: 80.66 kB / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1109, allocations: 0 / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.1109, allocations: 0 / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1112, allocations: 0.5302 MB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1127, allocations: 1.886 MB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1129, allocations: 0.6931 MB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.1131, allocations: 53.02 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.1131, allocations: 27.42 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1131, allocations: 0 / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.1247, allocations: 1.735 MB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.125, allocations: 241 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.185, allocations: 0 / 488 MB, free: 12.83 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches