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.001082/0.001082, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001212/0.001212, allocations: 184.1 kB / 18.71 MB, free: 4.348 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2057/0.2057, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.88 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3311, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002757/0.3339, allocations: 1.628 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000771/0.3347, allocations: 0.6817 MB / 0.5207 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.3348, allocations: 1.25 kB / 0.5207 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.335, allocations: 23.66 kB / 0.5207 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.3352, allocations: 47.69 kB / 0.5208 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.338e-06/0.3352, allocations: 3.938 kB / 0.5208 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3354, allocations: 26.67 kB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.3354, allocations: 7.422 kB / 0.5208 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.3355, allocations: 16.58 kB / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.3355, allocations: 13.23 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.3355, allocations: 0 / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.3356, allocations: 7.922 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.3356, allocations: 23.12 kB / 0.5208 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.3357, allocations: 19.59 kB / 0.5209 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.3358, allocations: 69.67 kB / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3358, allocations: 0 / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3358, allocations: 0 / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3358, allocations: 1.125 kB / 0.5209 GB, free: 1.57 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002787/0.3361, allocations: 365 kB / 0.5213 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3362, allocations: 10.48 kB / 0.5213 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.3362, allocations: 35.36 kB / 0.5213 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.3362, allocations: 11.16 kB / 0.5213 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.141e-05/0.3363, allocations: 181.5 kB / 0.5215 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.3363, allocations: 1.5 kB / 0.5215 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.3364, allocations: 6.828 kB / 0.5215 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3365, allocations: 124.5 kB / 0.5216 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3365, allocations: 5.062 kB / 0.5216 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3365, allocations: 5.031 kB / 0.5216 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.3366, allocations: 19.91 kB / 0.5217 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.3367, allocations: 49.56 kB / 0.5217 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.3371, allocations: 0.8898 MB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.3372, allocations: 170.3 kB / 0.5227 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.3372, allocations: 88.78 kB / 0.5228 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3373, allocations: 76.34 kB / 0.5229 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3373, allocations: 107.5 kB / 0.523 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.3373, allocations: 0 / 0.523 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.761e-05/0.3374, allocations: 38.94 kB / 0.523 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.3375, allocations: 130.6 kB / 0.5232 GB, free: 15.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.3377, allocations: 189.7 kB / 0.5233 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3377, allocations: 25.7 kB / 0.5234 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.3378, allocations: 147 kB / 0.5235 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/0.3378, allocations: 6.359 kB / 0.5235 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.3378, allocations: 42.75 kB / 0.5236 GB, free: 14.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.338, allocations: 320.8 kB / 0.5239 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.338, allocations: 28.52 kB / 0.5239 GB, free: 14.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3382, allocations: 153 kB / 0.524 GB, free: 14.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.3384, allocations: 215.9 kB / 0.5242 GB, free: 14.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3384, allocations: 2.125 kB / 0.5242 GB, free: 14.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000318/0.3387, allocations: 194.2 kB / 0.5244 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3387, allocations: 10.23 kB / 0.5244 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3388, allocations: 4.5 kB / 0.5244 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3388, allocations: 6.281 kB / 0.5244 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3389, allocations: 41.27 kB / 0.5245 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3389, allocations: 10.92 kB / 0.5245 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.339, allocations: 21.67 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3391, allocations: 13.09 kB / 0.5245 GB, free: 14.11 MB / 398.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.0001156/0.3392, allocations: 213.3 kB / 0.5247 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.3392, allocations: 122.2 kB / 0.5249 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.3393, allocations: 119.2 kB / 0.525 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/0.3394, allocations: 178.2 kB / 0.5251 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.596e-05/0.3394, allocations: 190.2 kB / 0.5253 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-05/0.3395, allocations: 178.4 kB / 0.5255 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.3397, allocations: 424.2 kB / 0.5259 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/0.3397, allocations: 105.5 kB / 0.526 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.3398, allocations: 102.9 kB / 0.5261 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-05/0.3398, allocations: 185.9 kB / 0.5263 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.3399, allocations: 185.7 kB / 0.5264 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.292e-05/0.34, allocations: 178.4 kB / 0.5266 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.372e-05/0.34, allocations: 182 kB / 0.5268 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.3401, allocations: 315 kB / 0.5271 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.3402, allocations: 190.9 kB / 0.5273 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.3403, allocations: 182.9 kB / 0.5274 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.3404, allocations: 109.5 kB / 0.5276 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.3404, allocations: 178.3 kB / 0.5277 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.3405, allocations: 107 kB / 0.5278 GB, free: 10.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3406, allocations: 130.2 kB / 0.5279 GB, free: 10.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3406, allocations: 4 kB / 0.528 GB, free: 10.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3409, allocations: 12.12 kB / 0.528 GB, free: 10.5 MB / 398.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.0006881/0.3416, allocations: 0.9028 MB / 0.5288 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.3418, allocations: 77.73 kB / 0.5289 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3418, allocations: 0 / 0.5289 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.3418, allocations: 1.5 kB / 0.5289 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3421, allocations: 464.4 kB / 0.5294 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.3437, allocations: 1.891 MB / 0.5312 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.344, allocations: 0.702 MB / 0.5319 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.3442, allocations: 54.38 kB / 0.5319 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.3442, allocations: 24.75 kB / 0.532 GB, free: 6.66 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3442, allocations: 0 / 0.532 GB, free: 6.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.3629, allocations: 2.108 MB / 0.534 GB, free: 5.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.032, allocations: 6.109 kB / 0.534 GB, free: 5.992 MB / 398.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