Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.001214/0.001214, allocations: 108.8 kB / 17.77 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.001244/0.001244, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2283/0.2283, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001899, allocations: 71.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3632, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003002/0.3663, allocations: 1.968 MB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3676, allocations: 0.8489 MB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.3677, allocations: 2.875 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.3682, allocations: 254.7 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.3687, allocations: 188.7 kB / 0.5216 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3697, allocations: 489.2 kB / 0.5221 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.3701, allocations: 283.5 kB / 0.5223 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.3703, allocations: 65.45 kB / 0.5224 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.3705, allocations: 126.9 kB / 0.5225 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.3708, allocations: 200 kB / 0.5227 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.3708, allocations: 10.56 kB / 0.5227 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.371, allocations: 69.23 kB / 0.5228 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.3711, allocations: 90.5 kB / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.035e-05/0.3712, allocations: 125.1 kB / 0.523 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.3717, allocations: 310.7 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3717, allocations: 0.6094 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3717, allocations: 0 / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3718, allocations: 0 / 0.5233 GB, free: 472 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.0008328/0.3726, allocations: 0.6543 MB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3726, allocations: 13.84 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.503e-05/0.3727, allocations: 45.33 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.048e-05/0.3728, allocations: 41.34 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.3732, allocations: 319.5 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3732, allocations: 4.797 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.3733, allocations: 12.81 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.3736, allocations: 109.9 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3736, allocations: 9.328 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3736, allocations: 4 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3736, allocations: 7.844 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3738, allocations: 70.23 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/0.3748, allocations: 494.6 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.375, allocations: 96.11 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.3751, allocations: 33.86 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.3752, allocations: 5.984 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.3752, allocations: 41.14 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3752, allocations: 0 / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001163/0.3764, allocations: 383.8 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.3765, allocations: 54.16 kB / 0.5256 GB, free: 14.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008622/0.3774, allocations: 0.5513 MB / 0.5261 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3774, allocations: 31.17 kB / 0.5262 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.3776, allocations: 202.7 kB / 0.5264 GB, free: 14.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/0.3777, allocations: 58.42 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.3778, allocations: 32.19 kB / 0.5265 GB, free: 14.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000252/0.3781, allocations: 351 kB / 0.5268 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3782, allocations: 50.16 kB / 0.5268 GB, free: 13.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3784, allocations: 54.83 kB / 0.5269 GB, free: 13.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.3787, allocations: 125.3 kB / 0.527 GB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3787, allocations: 0 / 0.527 GB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004044/0.3791, allocations: 195.9 kB / 0.5272 GB, free: 13.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.3791, allocations: 11.78 kB / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3791, allocations: 0 / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3792, allocations: 5.312 kB / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3793, allocations: 33.95 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3793, allocations: 1.281 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/0.3794, allocations: 17.78 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3794, allocations: 4.094 kB / 0.5273 GB, free: 13.67 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.0001843/0.3796, allocations: 178.6 kB / 0.5274 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.3797, allocations: 36.27 kB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.3802, allocations: 237.6 kB / 0.5277 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3803, allocations: 5.344 kB / 0.5277 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3803, allocations: 1.531 kB / 0.5277 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.3803, allocations: 0 / 0.5277 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009518/0.3812, allocations: 0.6295 MB / 0.5283 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.3813, allocations: 4 kB / 0.5283 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.3814, allocations: 38.28 kB / 0.5284 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3814, allocations: 1.75 kB / 0.5284 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.3814, allocations: 5.469 kB / 0.5284 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.3814, allocations: 9.312 kB / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3814, allocations: 0 / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.3819, allocations: 288.4 kB / 0.5287 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.382, allocations: 117.7 kB / 0.5288 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3821, allocations: 5.031 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3822, allocations: 13.44 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.3822, allocations: 14.33 kB / 0.5288 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.3823, allocations: 3.875 kB / 0.5288 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005052/0.3828, allocations: 413.9 kB / 0.5292 GB, free: 12.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3828, allocations: 0 / 0.5292 GB, free: 12.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.3831, allocations: 50.05 kB / 0.5292 GB, free: 12.22 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.003404/0.3865, allocations: 1.419 MB / 0.5306 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.3869, allocations: 128.9 kB / 0.5308 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3869, allocations: 0.9688 kB / 0.5308 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.3871, allocations: 78.94 kB / 0.5308 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.3878, allocations: 83.97 kB / 0.5309 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.392, allocations: 3.034 MB / 0.5339 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.3925, allocations: 0.8053 MB / 0.5347 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.3927, allocations: 56.89 kB / 0.5347 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3929, allocations: 117.3 kB / 0.5348 GB, free: 8.203 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3929, allocations: 0 / 0.5348 GB, free: 8.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.4228, allocations: 7.273 MB / 0.5419 GB, free: 4.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.601, allocations: 5.016 kB / 0.5419 GB, free: 4 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches