Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3603, allocations: 62.43 MB / 0.5305 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002832/0.3631, allocations: 1.703 MB / 0.5322 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.3641, allocations: 0.5671 MB / 0.5328 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.3642, allocations: 1.062 kB / 0.5328 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.3644, allocations: 20.34 kB / 0.5328 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.3647, allocations: 83.97 kB / 0.5329 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.365, allocations: 142.7 kB / 0.533 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.3651, allocations: 85.58 kB / 0.5331 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.3653, allocations: 18.62 kB / 0.5331 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.3653, allocations: 33.39 kB / 0.5331 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.3654, allocations: 55.91 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3654, allocations: 5.938 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.3656, allocations: 104.8 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.115e-05/0.3657, allocations: 29.11 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3657, allocations: 30.67 kB / 0.5333 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.366, allocations: 169.4 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.366, allocations: 1.844 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.366, allocations: 0 / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.366, allocations: 3.938 kB / 0.5335 GB, free: 11.04 MB / 398.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.0006473/0.3667, allocations: 448.2 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3667, allocations: 13.62 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.3668, allocations: 36.12 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.3668, allocations: 10.39 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.367, allocations: 214.1 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3671, allocations: 1.75 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3671, allocations: 3.125 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.3674, allocations: 101.4 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3674, allocations: 4 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3674, allocations: 1.375 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3674, allocations: 0 / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.3677, allocations: 66.42 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.3681, allocations: 316.2 kB / 0.5347 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.3684, allocations: 68.78 kB / 0.5347 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3686, allocations: 48.31 kB / 0.5348 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3686, allocations: 0 / 0.5348 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3686, allocations: 39.88 kB / 0.5348 GB, free: 9.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.815e-06/0.3686, allocations: 0 / 0.5348 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001588/0.3702, allocations: 382.8 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.3703, allocations: 81.81 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.3705, allocations: 167.5 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3705, allocations: 30.73 kB / 0.5354 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.3706, allocations: 99.94 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.3706, allocations: 35.03 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.3707, allocations: 21.34 kB / 0.5356 GB, free: 9.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3708, allocations: 321.9 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.3711, allocations: 74.3 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.3714, allocations: 91.22 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.372, allocations: 146.5 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.372, allocations: 3.938 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006507/0.3726, allocations: 193.7 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3727, allocations: 5.125 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3727, allocations: 384 / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3727, allocations: 0 / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.3729, allocations: 38.92 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3729, allocations: 7.938 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.3731, allocations: 34.14 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.3731, allocations: 2.375 kB / 0.5365 GB, free: 8.484 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 (10): * Single equations (assignments): 10 * 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 9.723e-05/0.3732, allocations: 123 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.3733, allocations: 13.44 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006873/0.374, allocations: 206.4 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.374, allocations: 1.188 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.374, allocations: 3.938 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.374, allocations: 1.188 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009279/0.375, allocations: 498.1 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.375, allocations: 1.156 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.3752, allocations: 35.62 kB / 0.5373 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3752, allocations: 1.281 kB / 0.5373 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3752, allocations: 0.9688 kB / 0.5373 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3752, allocations: 7.984 kB / 0.5373 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3752, allocations: 5.156 kB / 0.5373 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.3759, allocations: 293.2 kB / 0.5376 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.376, allocations: 92.23 kB / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.376, allocations: 1 kB / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.3762, allocations: 26.25 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.3763, allocations: 11.7 kB / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3763, allocations: 2.625 kB / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3764, allocations: 123.1 kB / 0.5379 GB, free: 7.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.3764, allocations: 0 / 0.5379 GB, free: 7.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.3767, allocations: 59.86 kB / 0.5379 GB, free: 7.309 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 (9): * Single equations (assignments): 9 * 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.002003/0.3787, allocations: 1.213 MB / 0.5391 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006806/0.3794, allocations: 161.3 kB / 0.5393 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3794, allocations: 0 / 0.5393 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.3798, allocations: 78.84 kB / 0.5393 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.3802, allocations: 16.28 kB / 0.5393 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.3831, allocations: 1.848 MB / 0.5411 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3834, allocations: 0.6998 MB / 0.5418 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.3835, allocations: 21.58 kB / 0.5419 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.3836, allocations: 39.72 kB / 0.5419 GB, free: 4.008 MB / 398.1 MB Notification: Performance of SimCode: time 1.874e-06/0.3836, allocations: 5.188 kB / 0.5419 GB, free: 4.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.4044, allocations: 4.285 MB / 0.5461 GB, free: 1.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.29, allocations: 4.938 kB / 0.5461 GB, free: 1.508 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches