Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.001424/0.001425, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001462/0.001462, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.658/1.658, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2454/0.2454, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 59.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4721/0.4742, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003548/0.4778, allocations: 1.643 MB / 0.5201 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007555/0.4786, allocations: 431.5 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.4788, allocations: 1.25 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.4796, allocations: 449.5 kB / 0.5209 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.4801, allocations: 253.6 kB / 0.5211 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.4806, allocations: 136.5 kB / 0.5213 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.4809, allocations: 168.3 kB / 0.5214 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.4811, allocations: 15.23 kB / 0.5215 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.4812, allocations: 116.8 kB / 0.5216 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.4816, allocations: 216.6 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.4816, allocations: 4 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.4817, allocations: 47.58 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.4818, allocations: 85.47 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.58e-05/0.4819, allocations: 105.6 kB / 0.522 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.4823, allocations: 275.2 kB / 0.5223 GB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4823, allocations: 5.719 kB / 0.5223 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.4823, allocations: 3.938 kB / 0.5223 GB, free: 1.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.4823, allocations: 7.875 kB / 0.5223 GB, free: 1.414 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.0009924/0.4833, allocations: 0.66 MB / 0.5229 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4834, allocations: 10.31 kB / 0.5229 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.4834, allocations: 36.56 kB / 0.523 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.4835, allocations: 51.77 kB / 0.523 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.4838, allocations: 304.4 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4838, allocations: 1.375 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.4839, allocations: 11.47 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.4841, allocations: 67.42 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4841, allocations: 1.344 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.4841, allocations: 0.5625 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4841, allocations: 1.469 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.4843, allocations: 39.47 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.485, allocations: 408.1 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.4852, allocations: 53.22 kB / 0.5239 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.818e-05/0.4853, allocations: 24.45 kB / 0.5239 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4853, allocations: 1.094 kB / 0.5239 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.4854, allocations: 32.53 kB / 0.5239 GB, free: 16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.4854, allocations: 4 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001721/0.4871, allocations: 470.3 kB / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.4872, allocations: 53.22 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.4883, allocations: 0.8557 MB / 0.5253 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.4883, allocations: 31.59 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.4886, allocations: 217.5 kB / 0.5255 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.4886, allocations: 34.23 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4888, allocations: 28.19 kB / 0.5256 GB, free: 15.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003485/0.4891, allocations: 361.8 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.4893, allocations: 40.09 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.4894, allocations: 43.89 kB / 0.526 GB, free: 14.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.4898, allocations: 97.66 kB / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4898, allocations: 0.5625 kB / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000413/0.4902, allocations: 187.4 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4902, allocations: 4.938 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4902, allocations: 0 / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4903, allocations: 9.281 kB / 0.5263 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4904, allocations: 27.08 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4904, allocations: 5.344 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.4905, allocations: 9.734 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.4905, allocations: 3.031 kB / 0.5263 GB, free: 14.66 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 (11): * Single equations (assignments): 11 * 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.0004448/0.4909, allocations: 221.8 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.491, allocations: 43.69 kB / 0.5266 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.4915, allocations: 209 kB / 0.5268 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.4916, allocations: 5.031 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4916, allocations: 0 / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4916, allocations: 1.281 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.4925, allocations: 0.5686 MB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4926, allocations: 0 / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.4927, allocations: 28.86 kB / 0.5274 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4927, allocations: 1.562 kB / 0.5274 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4927, allocations: 1.375 kB / 0.5274 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.4927, allocations: 5.25 kB / 0.5274 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.4927, allocations: 5.484 kB / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.4933, allocations: 283.9 kB / 0.5276 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.4935, allocations: 119.9 kB / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.4935, allocations: 2.031 kB / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4937, allocations: 18.64 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.4937, allocations: 8.984 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4937, allocations: 2.812 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008573/0.4946, allocations: 0.6505 MB / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.4946, allocations: 0 / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.4951, allocations: 32.78 kB / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002469/0.4975, allocations: 1.185 MB / 0.5296 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.4979, allocations: 107 kB / 0.5297 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4979, allocations: 0 / 0.5297 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.4981, allocations: 58.94 kB / 0.5298 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.4987, allocations: 30.83 kB / 0.5298 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/0.504, allocations: 3.418 MB / 0.5331 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.5045, allocations: 0.8272 MB / 0.5339 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.361e-05/0.5046, allocations: 21.41 kB / 0.534 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.5048, allocations: 115 kB / 0.5341 GB, free: 9.09 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5048, allocations: 0 / 0.5341 GB, free: 9.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/0.543, allocations: 6.468 MB / 0.5404 GB, free: 5.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.952/10.49, allocations: 5.094 kB / 0.5404 GB, free: 5.434 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches