Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",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.001137/0.001137, 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.001032/0.001032, allocations: 180.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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2373/0.2373, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.88 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4274, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.002951/0.4304, allocations: 1.618 MB / 0.52 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.4319, allocations: 1.037 MB / 0.521 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.432, allocations: 1.344 kB / 0.521 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.4323, allocations: 23.52 kB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.4325, allocations: 46.25 kB / 0.5211 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.4329, allocations: 132.5 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.4331, allocations: 61.69 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.4333, allocations: 17.02 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.4333, allocations: 28.47 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.4335, allocations: 27.41 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.4335, allocations: 3.562 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.4337, allocations: 55.36 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.4338, allocations: 16.14 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.4338, allocations: 22.67 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.4341, allocations: 106.8 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.4341, allocations: 1.953 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4341, allocations: 4 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4341, allocations: 0 / 0.5216 GB, free: 1.172 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005395/0.4347, allocations: 388.6 kB / 0.5219 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4347, allocations: 10.16 kB / 0.5219 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.4348, allocations: 32.7 kB / 0.522 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.4348, allocations: 12.78 kB / 0.522 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.435, allocations: 196.1 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.435, allocations: 1.469 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.435, allocations: 6.406 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.4352, allocations: 77.22 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4353, allocations: 0.7969 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4353, allocations: 5.281 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4353, allocations: 1.375 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.4354, allocations: 36.61 kB / 0.5223 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.4358, allocations: 294.2 kB / 0.5226 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.4359, allocations: 44.5 kB / 0.5226 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.436, allocations: 19.86 kB / 0.5226 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.436, allocations: 5.094 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.4361, allocations: 32.72 kB / 0.5227 GB, free: 68 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4361, allocations: 4 kB / 0.5227 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008327/0.4369, allocations: 199.2 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.437, allocations: 78.23 kB / 0.5229 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.4372, allocations: 147.2 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.4372, allocations: 29.7 kB / 0.5231 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.4373, allocations: 97.91 kB / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.4374, allocations: 21.02 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.4374, allocations: 20.52 kB / 0.5232 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4376, allocations: 319.8 kB / 0.5236 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.4377, allocations: 36.72 kB / 0.5236 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.4379, allocations: 55.08 kB / 0.5236 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.4381, allocations: 74.08 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.4381, allocations: 0 / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003039/0.4384, allocations: 104.8 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4385, allocations: 9.547 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4385, allocations: 5.078 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4385, allocations: 0.6562 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.4386, allocations: 23.55 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4387, allocations: 8.438 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.4387, allocations: 9.688 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4387, allocations: 1.344 kB / 0.5239 GB, free: 15.16 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001146/0.4389, allocations: 120.7 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.4389, allocations: 7.844 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.4393, allocations: 123.2 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4393, allocations: 1.156 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.4393, allocations: 4.641 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4393, allocations: 0 / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.4399, allocations: 389.3 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.4399, allocations: 7.875 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.44, allocations: 24.02 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.44, allocations: 3.938 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.4401, allocations: 1.281 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4401, allocations: 0.75 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4401, allocations: 1.219 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.4404, allocations: 222.5 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.4405, allocations: 84.92 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.4405, allocations: 5.641 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.4406, allocations: 8.484 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.4407, allocations: 10.59 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4407, allocations: 2.062 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.71e-05/0.4408, allocations: 109.4 kB / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4408, allocations: 1.094 kB / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.4411, allocations: 23.12 kB / 0.525 GB, free: 14.26 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 (7): * Single equations (assignments): 7 * 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.001592/0.4427, allocations: 1.089 MB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.4431, allocations: 78.45 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4431, allocations: 0 / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.4432, allocations: 42 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.4437, allocations: 20.84 kB / 0.5262 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.4459, allocations: 1.524 MB / 0.5277 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.4463, allocations: 0.6957 MB / 0.5283 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.831e-05/0.4464, allocations: 14.67 kB / 0.5283 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.4465, allocations: 30.67 kB / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4465, allocations: 0 / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.4702, allocations: 3.069 MB / 0.5314 GB, free: 9.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/8.06, allocations: 17.28 kB / 0.5314 GB, free: 9.953 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time