Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001468/0.001467, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.001762/0.001762, allocations: 179.1 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.457/1.457, 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.2156/0.2156, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3995, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003068/0.4026, allocations: 1.606 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008174/0.4035, allocations: 452.8 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.592e-05/0.4036, allocations: 1.188 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007619/0.4043, allocations: 451.4 kB / 0.5209 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.4049, allocations: 256.1 kB / 0.5211 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.4054, allocations: 166.6 kB / 0.5213 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.4058, allocations: 167.1 kB / 0.5214 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.406, allocations: 19.27 kB / 0.5215 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.4063, allocations: 112.3 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.4066, allocations: 206.2 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.4066, allocations: 6.719 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.4068, allocations: 31.34 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.4069, allocations: 87.53 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.407, allocations: 103.2 kB / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.4074, allocations: 264.4 kB / 0.5222 GB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4074, allocations: 0 / 0.5222 GB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4074, allocations: 0 / 0.5222 GB, free: 1.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.4074, allocations: 0 / 0.5222 GB, free: 1.438 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.0008862/0.4083, allocations: 0.6587 MB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4083, allocations: 12.88 kB / 0.5229 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.4084, allocations: 32.52 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.289e-05/0.4085, allocations: 44.66 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.4088, allocations: 303.4 kB / 0.5233 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4088, allocations: 6.531 kB / 0.5233 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4088, allocations: 10.14 kB / 0.5233 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.409, allocations: 58.94 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.409, allocations: 0 / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.409, allocations: 1.219 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4091, allocations: 0 / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.4092, allocations: 35.67 kB / 0.5234 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.4097, allocations: 401.6 kB / 0.5237 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.41, allocations: 46.41 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.41, allocations: 19.11 kB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.4101, allocations: 4 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.4101, allocations: 32.25 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.4101, allocations: 0 / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007342/0.4108, allocations: 235 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.4109, allocations: 51.41 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009945/0.4119, allocations: 0.8727 MB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.4119, allocations: 31.05 kB / 0.525 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.4121, allocations: 226.3 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.4121, allocations: 11.44 kB / 0.5252 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.4122, allocations: 20.34 kB / 0.5252 GB, free: 15.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.4124, allocations: 361.9 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.313e-05/0.4125, allocations: 20.16 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.4126, allocations: 25.73 kB / 0.5256 GB, free: 14.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.4128, allocations: 60.06 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4128, allocations: 0 / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002864/0.4131, allocations: 121.3 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4131, allocations: 5.844 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4131, allocations: 0 / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4131, allocations: 1.438 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.4132, allocations: 10.84 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.4132, allocations: 10.17 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.4133, allocations: 3.953 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4133, allocations: 3.188 kB / 0.5258 GB, free: 14.82 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 (5): * Single equations (assignments): 5 * 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.0002498/0.4136, allocations: 216.3 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.4136, allocations: 46.2 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.414, allocations: 138 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.414, allocations: 1.984 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.414, allocations: 8.25 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.414, allocations: 1.5 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008227/0.4149, allocations: 474.8 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4149, allocations: 1.25 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.4149, allocations: 16.98 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.415, allocations: 3.938 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.415, allocations: 1.75 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.415, allocations: 0 / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.415, allocations: 4 kB / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.4153, allocations: 217.7 kB / 0.5269 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.4154, allocations: 118.4 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.4155, allocations: 1.375 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.4156, allocations: 4.125 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.4157, allocations: 13.58 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.4157, allocations: 5.375 kB / 0.5271 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009095/0.4166, allocations: 0.6494 MB / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4166, allocations: 1.125 kB / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.417, allocations: 30.61 kB / 0.5277 GB, free: 13.54 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 (5): * Single equations (assignments): 5 * 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.001776/0.4187, allocations: 1.06 MB / 0.5288 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.419, allocations: 55.17 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4191, allocations: 0 / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.4192, allocations: 25.39 kB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.4198, allocations: 29.33 kB / 0.5289 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/0.425, allocations: 3.247 MB / 0.532 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.4255, allocations: 0.8292 MB / 0.5328 GB, free: 9.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.385e-05/0.4256, allocations: 21.05 kB / 0.5329 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4258, allocations: 108.2 kB / 0.533 GB, free: 9.691 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4258, allocations: 0 / 0.533 GB, free: 9.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.4543, allocations: 6.038 MB / 0.5389 GB, free: 6.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.479, allocations: 2.25 kB / 0.5389 GB, free: 6.633 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches