Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.001104/0.001104, allocations: 113.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.001212/0.001212, allocations: 179.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.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2201/0.2201, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3719, allocations: 60.83 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002761/0.3747, allocations: 1.625 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.3755, allocations: 425.6 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.3755, allocations: 2.094 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007159/0.3763, allocations: 444.7 kB / 0.5209 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.3767, allocations: 257.7 kB / 0.5211 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.3771, allocations: 135.7 kB / 0.5212 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.3774, allocations: 162.7 kB / 0.5214 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3775, allocations: 13.89 kB / 0.5214 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.3777, allocations: 111.8 kB / 0.5215 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.378, allocations: 219.6 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.378, allocations: 3.125 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3781, allocations: 31.98 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3783, allocations: 80.62 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.3783, allocations: 103.9 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.3787, allocations: 261 kB / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3787, allocations: 0 / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3787, allocations: 3.938 kB / 0.5222 GB, free: 1.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3788, allocations: 4 kB / 0.5222 GB, free: 1.473 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.0007043/0.3795, allocations: 0.6619 MB / 0.5228 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3795, allocations: 10.31 kB / 0.5228 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.3795, allocations: 32.02 kB / 0.5229 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.3796, allocations: 44.59 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3798, allocations: 311.3 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3798, allocations: 384 / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3799, allocations: 7.719 kB / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.38, allocations: 63.84 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.38, allocations: 0 / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3801, allocations: 1.344 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3801, allocations: 0 / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3802, allocations: 34.02 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.3806, allocations: 388.6 kB / 0.5237 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3807, allocations: 48.16 kB / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.58e-05/0.3808, allocations: 23.7 kB / 0.5238 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3808, allocations: 0.5625 kB / 0.5238 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.3808, allocations: 36.06 kB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3809, allocations: 0.9062 kB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008193/0.3817, allocations: 292.1 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3817, allocations: 52.56 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/0.3827, allocations: 0.8602 MB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3827, allocations: 29.7 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.3829, allocations: 214.3 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.383, allocations: 28.61 kB / 0.5252 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.383, allocations: 19.3 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3832, allocations: 362.7 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.3833, allocations: 29.28 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3834, allocations: 31.31 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.3837, allocations: 76.11 kB / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3837, allocations: 0 / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003034/0.384, allocations: 147.9 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.384, allocations: 9.438 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.384, allocations: 0.75 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.384, allocations: 5.312 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3842, allocations: 23.39 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3842, allocations: 3.938 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.3843, allocations: 18.16 kB / 0.5259 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3843, allocations: 2.219 kB / 0.5259 GB, free: 14.83 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.0001961/0.3845, allocations: 211.2 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.3846, allocations: 46.92 kB / 0.5262 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.3849, allocations: 169.5 kB / 0.5263 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3849, allocations: 5.641 kB / 0.5263 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.385, allocations: 3.938 kB / 0.5263 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.385, allocations: 0 / 0.5263 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/0.3857, allocations: 498.7 kB / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3857, allocations: 0 / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.3858, allocations: 21.98 kB / 0.5268 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3858, allocations: 5.156 kB / 0.5268 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3858, allocations: 1.625 kB / 0.5268 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3858, allocations: 3.984 kB / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3858, allocations: 0 / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.3862, allocations: 239.7 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.625e-05/0.3863, allocations: 110.8 kB / 0.5272 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.3863, allocations: 9.688 kB / 0.5272 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3864, allocations: 9.234 kB / 0.5272 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.3865, allocations: 11.67 kB / 0.5272 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.3865, allocations: 5.297 kB / 0.5272 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006191/0.3871, allocations: 0.6481 MB / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3871, allocations: 0 / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3874, allocations: 27.55 kB / 0.5279 GB, free: 13.5 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.001426/0.3888, allocations: 1.081 MB / 0.5289 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.3891, allocations: 82.84 kB / 0.529 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3891, allocations: 0 / 0.529 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.3894, allocations: 41.81 kB / 0.529 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3898, allocations: 20.38 kB / 0.5291 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.3938, allocations: 3.29 MB / 0.5323 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.3943, allocations: 0.8237 MB / 0.5331 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.3943, allocations: 10.56 kB / 0.5331 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3945, allocations: 101.3 kB / 0.5332 GB, free: 9.609 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3945, allocations: 0 / 0.5332 GB, free: 9.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.4182, allocations: 6.097 MB / 0.5391 GB, free: 6.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.619, allocations: 10.94 kB / 0.5392 GB, free: 6.512 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_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_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches