Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001376/0.001375, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001533/0.001533, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2065/0.2065, allocations: 44.18 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.372, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00297/0.375, allocations: 1.968 MB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3765, allocations: 0.9564 MB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.3766, allocations: 6.469 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.3771, allocations: 262.3 kB / 0.5215 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.3775, allocations: 193 kB / 0.5217 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3789, allocations: 0.6484 MB / 0.5224 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.3794, allocations: 305.2 kB / 0.5227 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.3796, allocations: 85.19 kB / 0.5227 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.3797, allocations: 134.6 kB / 0.5229 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.38, allocations: 195.5 kB / 0.523 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.38, allocations: 10.47 kB / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.3802, allocations: 102.8 kB / 0.5232 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3804, allocations: 102.6 kB / 0.5233 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.3805, allocations: 113.5 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.3809, allocations: 343.7 kB / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3809, allocations: 0 / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3809, allocations: 3.016 kB / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3809, allocations: 3.938 kB / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007235/0.3816, allocations: 0.6548 MB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3817, allocations: 9.625 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.3817, allocations: 45.17 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.3818, allocations: 38.19 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.3821, allocations: 331.5 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3822, allocations: 12.72 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.3822, allocations: 11.84 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.3825, allocations: 128.7 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3825, allocations: 5.906 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3825, allocations: 5.188 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3825, allocations: 2.844 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.3827, allocations: 95.19 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.3834, allocations: 0.5158 MB / 0.5255 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.3836, allocations: 106.5 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.351e-05/0.3837, allocations: 37.67 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3837, allocations: 3.609 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3838, allocations: 39.25 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 4.709e-06/0.3838, allocations: 9.453 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009642/0.3847, allocations: 438.7 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3848, allocations: 52.78 kB / 0.5262 GB, free: 14.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/0.3854, allocations: 0.5553 MB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3854, allocations: 25.7 kB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3855, allocations: 207.7 kB / 0.5269 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.3856, allocations: 60.59 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.3857, allocations: 39.08 kB / 0.527 GB, free: 13.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3858, allocations: 355.2 kB / 0.5273 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3859, allocations: 66.08 kB / 0.5274 GB, free: 13.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3861, allocations: 67.89 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3863, allocations: 152.6 kB / 0.5276 GB, free: 13.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3863, allocations: 1.469 kB / 0.5276 GB, free: 13.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003678/0.3867, allocations: 231.4 kB / 0.5278 GB, free: 13.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3867, allocations: 8.422 kB / 0.5279 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3868, allocations: 1.344 kB / 0.5279 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3868, allocations: 0 / 0.5279 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3869, allocations: 30.98 kB / 0.5279 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3869, allocations: 1.312 kB / 0.5279 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/0.387, allocations: 13.67 kB / 0.5279 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.387, allocations: 4.438 kB / 0.5279 GB, free: 13.32 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 (17): * Single equations (assignments): 17 * 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.0001645/0.3872, allocations: 188.6 kB / 0.5281 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.3873, allocations: 41.16 kB / 0.5281 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.3878, allocations: 270.9 kB / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3878, allocations: 6.344 kB / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3878, allocations: 0 / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3878, allocations: 3.984 kB / 0.5284 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008621/0.3887, allocations: 0.6849 MB / 0.5291 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3887, allocations: 0 / 0.5291 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.3888, allocations: 34.2 kB / 0.5291 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3888, allocations: 1.188 kB / 0.5291 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3889, allocations: 9.078 kB / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.3889, allocations: 5.094 kB / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3889, allocations: 1.094 kB / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.3893, allocations: 331.3 kB / 0.5294 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.3894, allocations: 114.6 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.3894, allocations: 5.016 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3895, allocations: 16.28 kB / 0.5296 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3896, allocations: 10.42 kB / 0.5296 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3896, allocations: 4.375 kB / 0.5296 GB, free: 12.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000471/0.3901, allocations: 416.5 kB / 0.53 GB, free: 11.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3901, allocations: 5.031 kB / 0.53 GB, free: 11.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.3904, allocations: 52.05 kB / 0.53 GB, free: 11.8 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 (17): * Single equations (assignments): 17 * 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.002126/0.3926, allocations: 1.449 MB / 0.5314 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.393, allocations: 160.5 kB / 0.5316 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.393, allocations: 1.531 kB / 0.5316 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.3932, allocations: 98.91 kB / 0.5317 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.3938, allocations: 77.14 kB / 0.5318 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.3981, allocations: 3.202 MB / 0.5349 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.3986, allocations: 0.8118 MB / 0.5357 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.3988, allocations: 64.97 kB / 0.5357 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.3989, allocations: 124.5 kB / 0.5359 GB, free: 7.664 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.399, allocations: 1.188 kB / 0.5359 GB, free: 7.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.4289, allocations: 7.571 MB / 0.5433 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.332, allocations: 9 kB / 0.5433 GB, free: 2.633 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches