Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.001638/0.001638, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001686/0.001686, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.486/1.486, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2444/0.2444, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 67.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.4909, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00347/0.4945, allocations: 1.629 MB / 0.5201 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000847/0.4953, allocations: 426.6 kB / 0.5205 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.4954, allocations: 1.406 kB / 0.5205 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008894/0.4963, allocations: 453.1 kB / 0.5209 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.4968, allocations: 253.7 kB / 0.5211 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.4971, allocations: 132.2 kB / 0.5213 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.4975, allocations: 173.7 kB / 0.5214 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.4976, allocations: 15.23 kB / 0.5214 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.4978, allocations: 107.7 kB / 0.5215 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.4981, allocations: 206.5 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.4981, allocations: 7.625 kB / 0.5218 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.4983, allocations: 51.53 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.4984, allocations: 85.16 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.4985, allocations: 108.1 kB / 0.522 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.4989, allocations: 273.9 kB / 0.5222 GB, free: 1.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4989, allocations: 1.844 kB / 0.5222 GB, free: 1.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4989, allocations: 0 / 0.5222 GB, free: 1.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.4989, allocations: 0 / 0.5222 GB, free: 1.453 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007565/0.4997, allocations: 0.6541 MB / 0.5229 GB, free: 0.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4997, allocations: 10.22 kB / 0.5229 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.4998, allocations: 41.3 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.4998, allocations: 44.17 kB / 0.523 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.5002, allocations: 306.4 kB / 0.5233 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.5002, allocations: 3.781 kB / 0.5233 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.5002, allocations: 6.203 kB / 0.5233 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.5004, allocations: 59.23 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5004, allocations: 4.828 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.5004, allocations: 5.344 kB / 0.5233 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5004, allocations: 0 / 0.5233 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.5005, allocations: 35.8 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.501, allocations: 398.3 kB / 0.5238 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.5011, allocations: 47.64 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.5012, allocations: 14.5 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.5012, allocations: 6.953 kB / 0.5238 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.5012, allocations: 34.56 kB / 0.5239 GB, free: 32 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.5012, allocations: 0 / 0.5239 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009919/0.5022, allocations: 301.8 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5023, allocations: 61.33 kB / 0.5242 GB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.5033, allocations: 0.8589 MB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.5033, allocations: 29.7 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.5035, allocations: 224.2 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.5036, allocations: 32.75 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.5036, allocations: 21.48 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.5038, allocations: 362.3 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.5039, allocations: 22.03 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.504, allocations: 31.23 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.5041, allocations: 64.31 kB / 0.5258 GB, free: 14.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5042, allocations: 1.469 kB / 0.5258 GB, free: 14.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002284/0.5044, allocations: 127.5 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5044, allocations: 5.5 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5044, allocations: 0 / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5044, allocations: 9.312 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.5045, allocations: 20.84 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5046, allocations: 0.75 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.5046, allocations: 5.438 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.5046, allocations: 6.016 kB / 0.526 GB, free: 14.79 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 (8): * Single equations (assignments): 8 * 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.0001942/0.5048, allocations: 212.1 kB / 0.5262 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.5049, allocations: 47.58 kB / 0.5262 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.5053, allocations: 164 kB / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.5053, allocations: 5.922 kB / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5053, allocations: 0 / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5053, allocations: 6.109 kB / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007669/0.5061, allocations: 0.5013 MB / 0.5269 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5061, allocations: 0 / 0.5269 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.632e-05/0.5062, allocations: 26.7 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5062, allocations: 432 / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5062, allocations: 1.281 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.5062, allocations: 5.125 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5062, allocations: 1.062 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.5066, allocations: 246.3 kB / 0.5271 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.5067, allocations: 118.6 kB / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.5067, allocations: 5.391 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.5068, allocations: 3.875 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.5069, allocations: 15.86 kB / 0.5273 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.5069, allocations: 2.5 kB / 0.5273 GB, free: 13.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008235/0.5077, allocations: 0.6487 MB / 0.5279 GB, free: 13.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5077, allocations: 0 / 0.5279 GB, free: 13.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.5081, allocations: 29.95 kB / 0.5279 GB, free: 13.44 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002427/0.5105, allocations: 1.131 MB / 0.529 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.5108, allocations: 66.67 kB / 0.5291 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5108, allocations: 0 / 0.5291 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.5109, allocations: 39.2 kB / 0.5291 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.5113, allocations: 24.64 kB / 0.5292 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.5158, allocations: 3.292 MB / 0.5324 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.5163, allocations: 0.8259 MB / 0.5332 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.5164, allocations: 21.97 kB / 0.5332 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.5166, allocations: 105.7 kB / 0.5333 GB, free: 9.523 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5166, allocations: 0 / 0.5333 GB, free: 9.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.5494, allocations: 6.285 MB / 0.5394 GB, free: 6.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.252/9.802, allocations: 5.875 kB / 0.5395 GB, free: 6.344 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches